Daemon can optionally not go into the background
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user