1
0
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:
Cameron
2014-10-23 11:07:18 -07:00
parent 0d4e4201e0
commit 1ff46a68a2
8 changed files with 22 additions and 17 deletions

View File

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