summaryrefslogtreecommitdiff
path: root/scripts/xmppqueuehandler.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-04 14:40:31 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-04 14:40:31 -0400
commitaed0fff4ea668de83405a4457fe238cf36c78d8f (patch)
tree21c3c184e49c4599bbd7e96f18225d831a56cd66 /scripts/xmppqueuehandler.php
parent95d9920d7861fb4a070a2ac2ebe19deb7432c5ab (diff)
scripts daemonize themselves
darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
Diffstat (limited to 'scripts/xmppqueuehandler.php')
-rwxr-xr-xscripts/xmppqueuehandler.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/xmppqueuehandler.php b/scripts/xmppqueuehandler.php
index 4394a1a40..1c594f210 100755
--- a/scripts/xmppqueuehandler.php
+++ b/scripts/xmppqueuehandler.php
@@ -110,8 +110,4 @@ $resource = ($argc > 1) ? $argv[1] : (common_config('xmpp','resource') . '-queue
$handler = new XmppQueueHandler($resource);
-if ($handler->start()) {
- $handler->handle_queue();
-}
-
-$handler->finish();
+$handler->runOnce(); \ No newline at end of file