1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 10:34:23 +02:00

More $admin_log global removal.

This commit is contained in:
Cameron
2014-10-23 11:12:13 -07:00
parent 1ff46a68a2
commit ac56b5ca10
34 changed files with 89 additions and 89 deletions

View File

@@ -81,7 +81,7 @@ if (vartrue($save_search))
// $sql -> db_Update("core", "e107_value='".$serialpref."' WHERE e107_name='search_prefs'");
e107::getConfig('search')->setPref($search_prefs)->save(false,true,false);
$admin_log->log_event('SEARCH_03','',E_LOG_INFORMATIVE,'');
e107::getLog()->add('SEARCH_03','',E_LOG_INFORMATIVE,'');
}
@@ -142,7 +142,7 @@ if (isset($_POST['update_handler']))
if($check)
{
$mes->addSuccess(LAN_UPDATED);
$admin_log->log_event('SEARCH_05', $handler_type.', '.$query[2], E_LOG_INFORMATIVE, '');
e107::getLog()->add('SEARCH_05', $handler_type.', '.$query[2], E_LOG_INFORMATIVE, '');
}
elseif(0 === $check) $mes->addInfo(LAN_NO_CHANGE);
else
@@ -174,7 +174,7 @@ if (isset($_POST['update_prefs']))
if($check)
{
$mes->addSuccess(LAN_UPDATED);
$admin_log->log_event('SEARCH_05', $handler_type.', '.$query[2], E_LOG_INFORMATIVE, '');
e107::getLog()->add('SEARCH_05', $handler_type.', '.$query[2], E_LOG_INFORMATIVE, '');
}
else //it's an error
{