mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
fix bug preventing stopListening from working
This commit is contained in:
parent
76c06a1349
commit
fab92ef114
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue