改名
This commit is contained in:
+3
-4
@@ -208,10 +208,9 @@ class Event extends BaseObject
|
|||||||
if (empty($events)) {
|
if (empty($events)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// foreach ($events as $index => $event) {
|
foreach ($events as $event) {
|
||||||
// $this->execute($event, $parameter);
|
$this->execute($event, $parameter);
|
||||||
// }
|
}
|
||||||
call_user_func_array($events, $parameter);
|
|
||||||
if ($is_remove) {
|
if ($is_remove) {
|
||||||
$this->offName($name);
|
$this->offName($name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user