]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/TwitterBridge/lib/tweetinqueuehandler.php
Use common_debug() instead of common_log(LOG_DEBUG, ) to minimize code duplication.
[quix0rs-gnu-social.git] / plugins / TwitterBridge / lib / tweetinqueuehandler.php
index cc0c05f9a669abbe2bfd4496c526021f2341dda4..3fd5b607a8441e15f43bfa2c0d979153b2f77027 100644 (file)
@@ -53,7 +53,7 @@ class TweetInQueueHandler extends QueueHandler
         if ($notice instanceof Notice) {
             $flink = Foreign_link::getByForeignID($receiver, TWITTER_SERVICE);
             if ($flink instanceof Foreign_link) {
-                common_log(LOG_DEBUG, "TweetInQueueHandler - Got flink so add notice ".
+                common_debug("TweetInQueueHandler - Got flink so add notice ".
                            $notice->id." to attentions for user ".$flink->user_id);
                 try {
                     Attention::saveNew($notice, $flink->getProfile());
@@ -64,7 +64,7 @@ class TweetInQueueHandler extends QueueHandler
                                         $e->getMessage());
                 }
             } else {
-               common_log(LOG_DEBUG, "TweetInQueueHandler - No flink found for foreign user ".$receiver);
+               common_debug("TweetInQueueHandler - No flink found for foreign user ".$receiver);
             }
         }