Set Resque_Log in constructor

This commit is contained in:
Ruud Kamphuis 2013-12-20 12:21:52 +01:00
parent 610c4dcdbf
commit cdc5c3f357

View File

@ -49,6 +49,11 @@ class Resque_Worker
*/ */
private $child = null; private $child = null;
public function __construct()
{
$this->logger = new Resque_Log();
}
/** /**
* Return all workers known to Resque as instantiated instances. * Return all workers known to Resque as instantiated instances.
* @return array * @return array