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

autocron: Bail on upgrade

parent 8e373d4c
Branches
Tags
No related merge requests found
...@@ -41,7 +41,7 @@ $caller = $thisstaff->getUserName(); ...@@ -41,7 +41,7 @@ $caller = $thisstaff->getUserName();
// Agent can call cron once every 3 minutes. // Agent can call cron once every 3 minutes.
if ($sec < 180 || !$ost || $ost->isUpgradePending()) if ($sec < 180 || !$ost || $ost->isUpgradePending())
ob_end_clean(); return ob_end_clean();
require_once(INCLUDE_DIR.'class.cron.php'); require_once(INCLUDE_DIR.'class.cron.php');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment