summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-18 15:10:19 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-18 15:10:19 -0400
commit91cac6495c8ed08ddf98e82d7b9d5342e86e2d76 (patch)
tree76daf0453c2699d26c07c466f4d1cbcc1ffa741e
parent1378f80dde9fe0dbbc825e001cd1c6e147986729 (diff)
LOG_ERROR
darcs-hash:20080718191019-84dde-8b16ec097fedfb3a4366e4c4317248452b368bfc.gz
-rwxr-xr-xmaildaemon.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maildaemon.php b/maildaemon.php
index 072f895b8..dcd4b2d30 100755
--- a/maildaemon.php
+++ b/maildaemon.php
@@ -88,7 +88,7 @@ class MailerDaemon {
$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);
@@ -99,7 +99,7 @@ class MailerDaemon {
$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);