summaryrefslogtreecommitdiff
path: root/scripts/smsqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/smsqueuehandler.php')
-rwxr-xr-xscripts/smsqueuehandler.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/smsqueuehandler.php b/scripts/smsqueuehandler.php
index 9968a7861..8f0d02d9b 100755
--- a/scripts/smsqueuehandler.php
+++ b/scripts/smsqueuehandler.php
@@ -61,8 +61,4 @@ $id = ($argc > 1) ? $argv[1] : NULL;
$handler = new SmsQueueHandler($id);
-if ($handler->start()) {
- $handler->handle_queue();
-}
-
-$handler->finish();
+$handler->runOnce();