mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Issue #2846 LAN vars cleanup
This commit is contained in:
@@ -93,7 +93,7 @@ if (isset($_POST['del_admin']) && count($_POST['del_admin']))
|
||||
}
|
||||
|
||||
$mes->addAuto($sql -> db_Update("user", "user_admin=0, user_perms='' WHERE user_id= ".$aID), 'update', ADMSLAN_61, LAN_DELETED_FAILED, false);
|
||||
$logMsg = str_replace(array('--ID--', '--NAME--'),array($aID, $row['user_name']),ADMSLAN_73);
|
||||
$logMsg = str_replace(array('[x]', '[y]'),array($aID, $row['user_name']),ADMSLAN_73);
|
||||
e107::getLog()->add('ADMIN_02',$logMsg,E_LOG_INFORMATIVE,'');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user