1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Issue #5096 - possible fix for older versions of PHP.

This commit is contained in:
camer0n
2023-11-03 16:07:00 -07:00
parent bfb515f2b5
commit 45661f44c3
3 changed files with 5 additions and 7 deletions

View File

@@ -1223,16 +1223,12 @@ class cronScheduler
{
if($this->debug)
{
$this->cron->debug('e107: Cron could not find method: '.$job['function'], E_ERROR);
$this->cron->debug('Cron could not find method: '.$job['function'], E_ERROR);
}
return $status;
}
if($this->debug)
{
$this->cron->debug('e107: Cron could not find method: '.$class . "::" . $job['function'].'()', E_NOTICE);
}
// Exception handling.
$method = $job['function'];