mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Removal of $admin_log globals.
This commit is contained in:
@@ -634,7 +634,7 @@ if ($dataToSave && !$promptPassword)
|
||||
$log_action = '';
|
||||
if ($_uid)
|
||||
{ // Its an admin changing someone elses data - make an admin log entry here
|
||||
$admin_log->log_event('USET_01', "UID: {$udata['user_id']}. UName: {$udata['user_name']}", E_LOG_INFORMATIVE);
|
||||
e107::getLog()->add('USET_01', "UID: {$udata['user_id']}. UName: {$udata['user_name']}", E_LOG_INFORMATIVE);
|
||||
// Check against the class of the target user, not the admin!
|
||||
if (!check_class(varset($pref['user_audit_class'], ''), $udata['user_class'])) { $user_logging_opts = array(); }
|
||||
}
|
||||
|
Reference in New Issue
Block a user