From aed0fff4ea668de83405a4457fe238cf36c78d8f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 4 Sep 2008 14:40:31 -0400 Subject: scripts daemonize themselves darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz --- scripts/ombqueuehandler.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts/ombqueuehandler.php') diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php index da089feab..1df816d14 100755 --- a/scripts/ombqueuehandler.php +++ b/scripts/ombqueuehandler.php @@ -71,8 +71,4 @@ $id = ($argc > 1) ? $argv[1] : NULL; $handler = new OmbQueueHandler($id); -if ($handler->start()) { - $handler->handle_queue(); -} - -$handler->finish(); +$handler->runOnce(); -- cgit v1.2.3-54-g00ecf