summaryrefslogtreecommitdiff
path: root/lib/queuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/queuehandler.php')
-rw-r--r--lib/queuehandler.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/queuehandler.php b/lib/queuehandler.php
index 045432ae5..ddb47a28e 100644
--- a/lib/queuehandler.php
+++ b/lib/queuehandler.php
@@ -31,8 +31,10 @@ 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);
}