Skip to content
Snippets Groups Projects
Commit d81244d8 authored by Jared Hancock's avatar Jared Hancock
Browse files

autocron: Bail on upgrade

parent 8e373d4c
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ $caller = $thisstaff->getUserName();
// Agent can call cron once every 3 minutes.
if ($sec < 180 || !$ost || $ost->isUpgradePending())
ob_end_clean();
return ob_end_clean();
require_once(INCLUDE_DIR.'class.cron.php');
......
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