Refactoring to support updated b8framework.

This commit is contained in:
Dan Cryer 2013-05-22 16:36:55 +01:00
commit 67386df9ef
20 changed files with 140 additions and 79 deletions

View file

@ -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);
}
}