mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 16:25:14 +00:00
fix bug preventing stopListening from working
This commit is contained in:
parent
76c06a1349
commit
fab92ef114
@ -73,7 +73,7 @@ class Resque_Event
|
|||||||
|
|
||||||
$key = array_search($callback, self::$events[$event]);
|
$key = array_search($callback, self::$events[$event]);
|
||||||
if ($key !== false) {
|
if ($key !== false) {
|
||||||
unset(self::$events[$key]);
|
unset(self::$events[$event][$key]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user