]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
LOG_ERROR -> LOG_ERR (again)
authorEvan Prodromou <evan@prodromou.name>
Thu, 7 Aug 2008 23:42:27 +0000 (19:42 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 7 Aug 2008 23:42:27 +0000 (19:42 -0400)
darcs-hash:20080807234227-84dde-a64619c71de020aa2284ca1a36ea2a71ff8b29a6.gz

classes/Notice.php
lib/util.php

index c9127bac49bdae7dc6b22c9b0e0fc390ecef92cc..cb220394dde149d61d3f80c548f29536b923b6a7 100644 (file)
@@ -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;
                        }
index 0c1eed231397579e88d01dc1ad63d85d85ff2810..9848d6f8e48c6d910134b5169203f4476a5d424f 100644 (file)
@@ -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);