From 4203bdb2c5b5e234fa22cad8d339aaabf4562800 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 16 Feb 2021 11:56:42 -0800 Subject: [PATCH] Removed last references to deprecated e107::getAdminLog() method. --- e107_handlers/file_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/file_class.php b/e107_handlers/file_class.php index c40603762..cef342de2 100644 --- a/e107_handlers/file_class.php +++ b/e107_handlers/file_class.php @@ -538,7 +538,7 @@ { if(E107_DEBUG_LEVEL > 0) { - e107::getAdminLog()->addDebug('getRemoteFile() requires cURL to be installed in file_class.php'); + e107::getLog()->addDebug('getRemoteFile() requires cURL to be installed in file_class.php'); } return false; // May not be installed @@ -1304,7 +1304,7 @@ if($archive->create($filePaths, PCLZIP_OPT_REMOVE_PATH, $removePath) == 0) { $error = $archive->errorInfo(true); - e107::getAdminLog()->addError($error)->save('FILE', E_LOG_NOTICE); + e107::getLog()->addError($error)->save('FILE', E_LOG_NOTICE); return false; }