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 /xmppdaemon.php | |
parent | cebbff432a8a0c8087f56d8c8de0865d17441150 (diff) |
LOG_ERROR -> LOG_ERR
darcs-hash:20080718190835-84dde-1ce20cb3ac604f0e9fa9e4ed86118bca7bec3a06.gz
Diffstat (limited to 'xmppdaemon.php')
-rwxr-xr-x | xmppdaemon.php | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |