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

@@ -8,7 +8,7 @@ if (!defined('e107_INIT'))
e107::lan('download','download');
$log = e107::getAdminLog();
$log = e107::getLog();
$id = FALSE;
$sql = e107::getDb();

View File

@@ -1294,7 +1294,7 @@ class e107forum
{
$e107 = e107::getInstance();
$sql = e107::getDb();
$log = e107::getAdminLog();
$log = e107::getLog();
$id = (int)$id;
if(!$id) { return; }

View File

@@ -866,7 +866,7 @@ class gsitemap
function addLink()
{
$log = e107::getAdminLog();
$log = e107::getLog();
$sql = e107::getDb();
$tp = e107::getParser();
@@ -922,7 +922,7 @@ class gsitemap
function deleteSme()
{
$log = e107::getAdminLog();
$log = e107::getLog();
$sql = e107::getDb();
$d_idt = array_keys($_POST['delete']);
@@ -1099,7 +1099,7 @@ class gsitemap
{
$sql = e107::getDb();
$tp = e107::getParser();
$log = e107::getAdminLog();
$log = e107::getLog();
foreach($_POST['importid'] as $import)

View File

@@ -29,7 +29,7 @@ if(e_AJAX_REQUEST && varset($_GET['action']) == 'rebuild')
$totalFiles = $_SESSION['stats_log_files_total'] - 1;
//$process = true;
$lg = e107::getAdminLog();
$lg = e107::getLog();
// $lg->addDebug(print_r($logVals, true));

View File

@@ -91,7 +91,7 @@ else
$logVals = str_replace('%3A',':',$logVals); // make the URLs a bit cleaner, while keeping any urlqueries encoded.
$lg = e107::getAdminLog();
$lg = e107::getLog();
$lg->addDebug(print_r($logVals, true));
$lg->toFile('SiteStats','Statistics Log', true);