mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
Update engine/classes/Action.class.php
This commit is contained in:
parent
d7dc7bd587
commit
820dbe8b56
|
@ -167,7 +167,7 @@ abstract class Action extends LsObject {
|
||||||
}
|
}
|
||||||
$this->sCurrentEventName=$aEvent['name'];
|
$this->sCurrentEventName=$aEvent['name'];
|
||||||
$this->Hook_Run("action_event_".strtolower($this->sCurrentAction)."_before",array('event'=>$this->sCurrentEvent,'params'=>$this->GetParams()));
|
$this->Hook_Run("action_event_".strtolower($this->sCurrentAction)."_before",array('event'=>$this->sCurrentEvent,'params'=>$this->GetParams()));
|
||||||
$result=call_user_func_array(array($this,$aEvent['method']),null);
|
$result=call_user_func_array(array($this,$aEvent['method']),null);
|
||||||
$this->Hook_Run("action_event_".strtolower($this->sCurrentAction)."_after",array('event'=>$this->sCurrentEvent,'params'=>$this->GetParams()));
|
$this->Hook_Run("action_event_".strtolower($this->sCurrentAction)."_after",array('event'=>$this->sCurrentEvent,'params'=>$this->GetParams()));
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue