diff --git a/classes/Notice.php b/classes/Notice.php index c9127bac49..cb220394dd 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -68,7 +68,7 @@ class Notice extends DB_DataObject $id = $tag->insert(); if (!$id) { $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)); return; } diff --git a/lib/util.php b/lib/util.php index 0c1eed2313..9848d6f8e4 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1078,7 +1078,7 @@ function common_dequeue_notice($notice) { $result = $qi->delete(); if (!$result) { $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; } common_log(LOG_DEBUG, 'complete dequeueing notice ID = ' . $notice->id);