1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-24 15:13:04 +02:00

Replaced e107::getAdminLog() with e107::getLog(). e107::getAdminLog() will continue as a deprecated alias.

This commit is contained in:
Cameron
2020-12-22 09:36:02 -08:00
parent 1433646305
commit 3f8e043998
33 changed files with 82 additions and 82 deletions

View File

@@ -1072,7 +1072,7 @@ Following fields auto-filled in code as required:
{ // Only update if needed
$db->update('user', '`user_ban` = '.$newVal.', `user_email` = \'\' WHERE `user_id` = '.$row['user_id'].' LIMIT 1');
// Add to user audit log TODO: Should we log to admin log as well?
$adminLog = e107::getAdminLog();
$adminLog = e107::getLog();
$adminLog->user_audit($logEvent, array('user_ban' => $newVal, 'user_email' => $row['user_email']), $row['user_id'], $row['user_loginname']);
}
}