1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-14 17:42:10 +02:00

Fix for LAN issue in Schedule log.

This commit is contained in:
Cameron 2019-02-04 10:55:47 -08:00
parent c7b2aa597f
commit a661a75fa6
2 changed files with 10 additions and 5 deletions

View File

@ -22,7 +22,12 @@ define ('CRON_RETRIGGER_DEBUG', false);
class _system_cron
{
function __construct()
{
e107::coreLan('cron', true);
}
// See admin/cron.php to configure more core cron function to be added below.
@ -88,7 +93,7 @@ class _system_cron
e107::getEmail()->sendEmail($pref['siteadminemail'], $pref['siteadmin'], $eml);
return null;
}
@ -243,7 +248,7 @@ class _system_cron
}
elseif(file_exists($file))
{
e107::getLog()->addSuccess(LAN_CRON_56.SEP.basename($file))->save('BACKUP');
e107::getLog()->addSuccess(LAN_CRON_56." ".basename($file))->save('BACKUP');
}
return null;
@ -940,6 +945,8 @@ class cronScheduler
{
$this->runJob($job);
}
return null;
}
/**

View File

@ -104,5 +104,3 @@ define("LAN_CRON_BACKUP", "Backup");
define("LAN_CRON_LOGGING", "Logging");
define("LAN_CRON_RUNNING", "Running");
?>