mirror of https://github.com/Oreolek/aacl.git
Removed indirect Auth dependency
parent
ca227cc29b
commit
f307e97eb6
|
@ -25,18 +25,6 @@ class AACL {
|
|||
*/
|
||||
protected static $_resources;
|
||||
|
||||
/**
|
||||
* Returns the currently logged in user
|
||||
*
|
||||
* @return Model_User logged in user's instance or NULL pointer
|
||||
* @return NULL
|
||||
*/
|
||||
public static function get_loggedin_user()
|
||||
{
|
||||
return Auth::instance()->get_user();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Grant access to $role for resource
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue