]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/enjitqueuehandler.php
compile message files
[quix0rs-gnu-social.git] / scripts / enjitqueuehandler.php
index cfb2537533b91cd98780f74ef102c98759b38f07..3a4f8315d338ff7a79f7576e9b3b7302e1284b19 100755 (executable)
@@ -33,19 +33,23 @@ require_once(INSTALLDIR . '/lib/queuehandler.php');
 
 set_error_handler('common_error_handler');
 
-class EnjitQueueHandler extends QueueHandler {
+class EnjitQueueHandler extends QueueHandler
+{
     
-    function transport() {
+    function transport()
+    {
         return 'enjit';
     }
 
-    function start() {
+    function start()
+    {
                 $this->log(LOG_INFO, "Starting EnjitQueueHandler");
                 $this->log(LOG_INFO, "Broadcasting to ".common_config('enjit', 'apiurl'));
         return true;
     }
 
-    function handle_notice($notice) {
+    function handle_notice($notice)
+    {
 
         $profile = Profile::staticGet($notice->profile_id);
 
@@ -117,7 +121,7 @@ class EnjitQueueHandler extends QueueHandler {
 
 mb_internal_encoding('UTF-8');
 
-$id = ($argc > 1) ? $argv[1] : NULL;
+$id = ($argc > 1) ? $argv[1] : null;
 
 $handler = new EnjitQueueHandler($id);