1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Removed last references to deprecated e107::getAdminLog() method.

This commit is contained in:
Cameron
2021-02-16 11:56:42 -08:00
parent ab546c5aab
commit 4203bdb2c5

View File

@@ -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;
}