From 54a931a31ac12a8982e8b81af5fd6dde4fa6463a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 18 Jul 2008 15:08:35 -0400 Subject: LOG_ERROR -> LOG_ERR darcs-hash:20080718190835-84dde-1ce20cb3ac604f0e9fa9e4ed86118bca7bec3a06.gz --- xmppdaemon.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xmppdaemon.php') diff --git a/xmppdaemon.php b/xmppdaemon.php index e772ecc08..9389e6fc9 100755 --- a/xmppdaemon.php +++ b/xmppdaemon.php @@ -212,7 +212,7 @@ class XMPPDaemon { $result = $user->update($orig); if (!$id) { $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); - $this->log(LOG_ERROR, + $this->log(LOG_ERR, 'Could not set notify flag to ' . $notify . ' for user ' . common_log_objstring($user) . ': ' . $last_error->message); @@ -232,7 +232,7 @@ class XMPPDaemon { $id = $notice->insert(); if (!$id) { $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); - $this->log(LOG_ERROR, + $this->log(LOG_ERR, 'Could not insert ' . common_log_objstring($notice) . ' for user ' . common_log_objstring($user) . ': ' . $last_error->message); @@ -243,7 +243,7 @@ class XMPPDaemon { $result = $notice->update($orig); if (!$result) { $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); - $this->log(LOG_ERROR, + $this->log(LOG_ERR, 'Could not add URI to ' . common_log_objstring($notice) . ' for user ' . common_log_objstring($user) . ': ' . $last_error->message); @@ -388,7 +388,7 @@ class XMPPDaemon { $user->nickname, $confirm->address); if (!$success) { - $this->log(LOG_ERROR, 'Confirmation failed for ' . $confirm->address); + $this->log(LOG_ERR, 'Confirmation failed for ' . $confirm->address); # Just let the claim age out; hopefully things work then continue; } else { @@ -398,7 +398,7 @@ class XMPPDaemon { $confirm->sent = $confirm->claimed; $result = $confirm->update($original); if (!$result) { - $this->log(LOG_ERROR, 'Cannot mark sent for ' . $confirm->address); + $this->log(LOG_ERR, 'Cannot mark sent for ' . $confirm->address); # Just let the claim age out; hopefully things work then continue; } -- cgit v1.2.3-54-g00ecf