mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Removed last references to deprecated e107::getAdminLog() method.
This commit is contained in:
@@ -538,7 +538,7 @@
|
|||||||
{
|
{
|
||||||
if(E107_DEBUG_LEVEL > 0)
|
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
|
return false; // May not be installed
|
||||||
@@ -1304,7 +1304,7 @@
|
|||||||
if($archive->create($filePaths, PCLZIP_OPT_REMOVE_PATH, $removePath) == 0)
|
if($archive->create($filePaths, PCLZIP_OPT_REMOVE_PATH, $removePath) == 0)
|
||||||
{
|
{
|
||||||
$error = $archive->errorInfo(true);
|
$error = $archive->errorInfo(true);
|
||||||
e107::getAdminLog()->addError($error)->save('FILE', E_LOG_NOTICE);
|
e107::getLog()->addError($error)->save('FILE', E_LOG_NOTICE);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user