1
0
Fork 0
mirror of https://github.com/Oreolek/aacl.git synced 2024-06-24 01:00:44 +03:00

Removed indirect Auth dependency

This commit is contained in:
Alexander Yakovlev 2013-07-10 12:39:58 +07:00
parent ca227cc29b
commit f307e97eb6

View file

@ -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
*