Skip to content
Snippets Groups Projects
Commit cf1cdd6f authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #3249 from d--j/develop

Make `cron` signals conform to documentation.
parents b0e5dd20 fb8c3c2c
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ class Cron { ...@@ -107,7 +107,7 @@ class Cron {
self::MaybeOptimizeTables(); self::MaybeOptimizeTables();
$data = array('autocron'=>false); $data = array('autocron'=>false);
Signal::send('cron', $data); Signal::send('cron', null, $data);
} }
} }
?> ?>
...@@ -66,7 +66,7 @@ if($cfg && $cfg->isAutoCronEnabled()) { //ONLY fetch tickets if autocron is enab ...@@ -66,7 +66,7 @@ if($cfg && $cfg->isAutoCronEnabled()) { //ONLY fetch tickets if autocron is enab
} }
$data = array('autocron'=>true); $data = array('autocron'=>true);
Signal::send('cron', $data); Signal::send('cron', null, $data);
ob_end_clean(); ob_end_clean();
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment