1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 02:00:14 +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

@@ -38,7 +38,7 @@ class news {
{
$tp = e107::getParser();
$sql = e107::getDb();
$admin_log = e107::getAdminLog();
$admin_log = e107::getLog();
$pref = e107::getPref();
$e_event = e107::getEvent();
$e107cache = e107::getCache();
@@ -170,7 +170,7 @@ class news {
{
e107::getAdminLog()->addArray($logData)->save('NEWS_09');
e107::getLog()->addArray($logData)->save('NEWS_09');
$data['data']['news_id'] = $news['news_id'];
@@ -224,7 +224,7 @@ class news {
e107::getCache()->clear('news.php');
//moved down - prevent wrong mysql_insert_id
e107::getAdminLog()->addArray($logData)->save('NEWS_08');
e107::getLog()->addArray($logData)->save('NEWS_08');
e107::getEvent()->trigger('newspost', $data['data']);
e107::getEvent()->trigger('admin_news_created', $data['data']);