diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-18 15:08:35 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-18 15:08:35 -0400 |
commit | 54a931a31ac12a8982e8b81af5fd6dde4fa6463a (patch) | |
tree | 75b6c9ec2bc32cdcec38e8f8839e403d75a1213f /lib/util.php | |
parent | cebbff432a8a0c8087f56d8c8de0865d17441150 (diff) |
LOG_ERROR -> LOG_ERR
darcs-hash:20080718190835-84dde-1ce20cb3ac604f0e9fa9e4ed86118bca7bec3a06.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/util.php b/lib/util.php index 5e3e8c98d..c2c4f99db 100644 --- a/lib/util.php +++ b/lib/util.php @@ -921,7 +921,7 @@ function common_save_replies($notice) { $id = $reply->insert(); if (!$id) { $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); - common_log(LOG_ERROR, 'DB error inserting reply: ' . $last_error->message); + common_log(LOG_ERR, 'DB error inserting reply: ' . $last_error->message); common_server_error(sprintf(_('DB error inserting reply: %s'), $last_error->message)); return; } @@ -946,7 +946,7 @@ function common_enqueue_notice($notice) { $result = $qi->insert(); if (!$result) { $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); - common_log(LOG_ERROR, 'DB error inserting queue item: ' . $last_error->message); + common_log(LOG_ERR, 'DB error inserting queue item: ' . $last_error->message); return false; } common_log(LOG_DEBUG, 'complete queueing notice ID = ' . $notice->id); @@ -960,14 +960,14 @@ function common_real_broadcast($notice, $remote=false) { require_once(INSTALLDIR.'/lib/omb.php'); $success = omb_broadcast_remote_subscribers($notice); if (!$success) { - common_log(LOG_ERROR, 'Error in OMB broadcast for notice ' . $notice->id); + common_log(LOG_ERR, 'Error in OMB broadcast for notice ' . $notice->id); } } if ($success) { require_once(INSTALLDIR.'/lib/jabber.php'); $success = jabber_broadcast_notice($notice); if (!$success) { - common_log(LOG_ERROR, 'Error in jabber broadcast for notice ' . $notice->id); + common_log(LOG_ERR, 'Error in jabber broadcast for notice ' . $notice->id); } } // XXX: broadcast notices to SMS |