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:
@@ -8,7 +8,7 @@ if (!defined('e107_INIT'))
|
||||
e107::lan('download','download');
|
||||
|
||||
|
||||
$log = e107::getAdminLog();
|
||||
$log = e107::getLog();
|
||||
$id = FALSE;
|
||||
|
||||
$sql = e107::getDb();
|
||||
|
@@ -1294,7 +1294,7 @@ class e107forum
|
||||
{
|
||||
$e107 = e107::getInstance();
|
||||
$sql = e107::getDb();
|
||||
$log = e107::getAdminLog();
|
||||
$log = e107::getLog();
|
||||
|
||||
$id = (int)$id;
|
||||
if(!$id) { return; }
|
||||
|
@@ -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)
|
||||
|
@@ -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));
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user