LOG_ERROR -> LOG_ERR (again)

darcs-hash:20080807234227-84dde-a64619c71de020aa2284ca1a36ea2a71ff8b29a6.gz
This commit is contained in:
Evan Prodromou 2008-08-07 19:42:27 -04:00
parent 5793a998be
commit 2c3ed64027
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class Notice extends DB_DataObject
$id = $tag->insert(); $id = $tag->insert();
if (!$id) { if (!$id) {
$last_error = PEAR::getStaticProperty('DB_DataObject','lastError'); $last_error = PEAR::getStaticProperty('DB_DataObject','lastError');
common_log(LOG_ERROR, 'DB error inserting hashtag: ' . $last_error->message); common_log(LOG_ERR, 'DB error inserting hashtag: ' . $last_error->message);
common_server_error(sprintf(_('DB error inserting hashtag: %s'), $last_error->message)); common_server_error(sprintf(_('DB error inserting hashtag: %s'), $last_error->message));
return; return;
} }

View File

@ -1078,7 +1078,7 @@ function common_dequeue_notice($notice) {
$result = $qi->delete(); $result = $qi->delete();
if (!$result) { if (!$result) {
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
common_log(LOG_ERROR, 'DB error deleting queue item: ' . $last_error->message); common_log(LOG_ERR, 'DB error deleting queue item: ' . $last_error->message);
return false; return false;
} }
common_log(LOG_DEBUG, 'complete dequeueing notice ID = ' . $notice->id); common_log(LOG_DEBUG, 'complete dequeueing notice ID = ' . $notice->id);