]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/smsqueuehandler.php
Readjusted location and size for logo, form_notice,
[quix0rs-gnu-social.git] / scripts / smsqueuehandler.php
index f17429d96318a093317b0cbc905da6835915b10b..38f2f11febb4e6f812da9eb8f65d7a75348c481e 100755 (executable)
@@ -33,22 +33,27 @@ require_once(INSTALLDIR . '/lib/queuehandler.php');
 
 set_error_handler('common_error_handler');
 
-class SmsQueueHandler extends QueueHandler {
+class SmsQueueHandler extends QueueHandler
+{
     
-    function transport() {
+    function transport()
+    {
         return 'sms';
     }
 
-    function start() {
+    function start()
+    {
         $this->log(LOG_INFO, "INITIALIZE");
         return true;
     }
 
-    function handle_notice($notice) {
+    function handle_notice($notice)
+    {
         return mail_broadcast_notice_sms($notice);
     }
     
-    function finish() {
+    function finish()
+    {
     }
 }
 
@@ -57,7 +62,7 @@ ini_set("max_input_time", "0");
 set_time_limit(0);
 mb_internal_encoding('UTF-8');
 
-$id = ($argc > 1) ? $argv[1] : NULL;
+$id = ($argc > 1) ? $argv[1] : null;
 
 $handler = new SmsQueueHandler($id);