mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
extract params in the Hook->execute method
This commit is contained in:
parent
cd94abb7fd
commit
c20183c547
@ -40,6 +40,7 @@ class Hook
|
|||||||
|
|
||||||
public function execute($params)
|
public function execute($params)
|
||||||
{
|
{
|
||||||
|
extract($params);
|
||||||
/*if(is_callable($this->_callback))
|
/*if(is_callable($this->_callback))
|
||||||
{
|
{
|
||||||
$tmp = $this->_callback;
|
$tmp = $this->_callback;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user