mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Replaced e107::getAdminLog() with e107::getLog(). e107::getAdminLog() will continue as a deprecated alias.
This commit is contained in:
@@ -1659,7 +1659,7 @@ class e_user extends e_user_model
|
||||
}
|
||||
|
||||
// TODO - lan
|
||||
e107::getAdminLog()->add('Head Admin used Login As feature', 'Head Admin [#'.$this->getId().'] '.$this->getName().' logged in user account #'.$user_id);
|
||||
e107::getLog()->add('Head Admin used Login As feature', 'Head Admin [#'.$this->getId().'] '.$this->getName().' logged in user account #'.$user_id);
|
||||
//$this->loadAs(); - shouldn't be called here - loginAs should be called in Admin area only, loadAs - front-end
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user