summaryrefslogtreecommitdiff
path: root/lib/queuehandler.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-28 16:12:23 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-06-28 16:12:23 -0400
commit6ca4dfa7ef42faf024599375b2ff81bfeb3d6208 (patch)
tree94b0a3098192c89e62b2755fe057d6453ce36d04 /lib/queuehandler.php
parent495c85544a740cd0330e73d9c48ca4b84f3d8e97 (diff)
Daemon can optionally not go into the background
Diffstat (limited to 'lib/queuehandler.php')
-rw-r--r--lib/queuehandler.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/queuehandler.php b/lib/queuehandler.php
index ae403c65e..c1c4f3309 100644
--- a/lib/queuehandler.php
+++ b/lib/queuehandler.php
@@ -27,11 +27,12 @@ require_once(INSTALLDIR.'/classes/Notice.php');
class QueueHandler extends Daemon
{
-
var $_id = 'generic';
- function QueueHandler($id=null)
+ function __construct($id=null, $daemonize=true)
{
+ parent::__construct($daemonize);
+
if ($id) {
$this->set_id($id);
}