Skip to content

Commit cdc5c3f

Browse files
committed
Set Resque_Log in constructor
1 parent 610c4dc commit cdc5c3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Resque/Worker.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ class Resque_Worker
4949
*/
5050
private $child = null;
5151

52+
public function __construct()
53+
{
54+
$this->logger = new Resque_Log();
55+
}
56+
5257
/**
5358
* Return all workers known to Resque as instantiated instances.
5459
* @return array

0 commit comments

Comments
 (0)