Refactoring to support updated b8framework.
This commit is contained in:
parent
aff5b1886e
commit
67386df9ef
20 changed files with 140 additions and 79 deletions
|
|
@ -19,7 +19,7 @@ class User
|
|||
{
|
||||
public function __call($method, $params = array())
|
||||
{
|
||||
$user = \b8\Registry::getInstance()->get('user');
|
||||
$user = $_SESSION['user'];
|
||||
return call_user_func_array(array($user, $method), $params);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue