summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-07 19:42:27 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-07 19:42:27 -0400
commit2c3ed64027506acd12cf9ba2485fd9fa8c519d09 (patch)
tree94a04819b016ea1bf371f11edbfe11c34d7203e0
parent5793a998be8d12c7228dbc9cf432ab05e9dd64df (diff)
LOG_ERROR -> LOG_ERR (again)
darcs-hash:20080807234227-84dde-a64619c71de020aa2284ca1a36ea2a71ff8b29a6.gz
-rw-r--r--classes/Notice.php2
-rw-r--r--lib/util.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index c9127bac4..cb220394d 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 0c1eed231..9848d6f8e 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);