aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 11:44:06 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 11:44:06 +0000
commit603b7c6273af20696a1c3158792dd63b55e784b0 (patch)
tree23aa3551ceccce837f7884008b99963aa23277ae
parent6dd16e9ab69605736f9573f367cac034b16059b5 (diff)
downloadelgg-603b7c6273af20696a1c3158792dd63b55e784b0.tar.gz
elgg-603b7c6273af20696a1c3158792dd63b55e784b0.tar.bz2
Suppressing output on cron trigger
git-svn-id: https://code.elgg.org/elgg/trunk@3027 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/crontrigger/start.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/crontrigger/start.php b/mod/crontrigger/start.php
index 92d388439..6cf6d7f71 100644
--- a/mod/crontrigger/start.php
+++ b/mod/crontrigger/start.php
@@ -65,6 +65,7 @@
$now = time();
+ ob_start();
run_function_once('crontrigger_minute', $now - $minute);
run_function_once('crontrigger_fiveminute', $now - $fiveminute);
run_function_once('crontrigger_fifteenmin', $now - $fifteenmin);
@@ -74,6 +75,7 @@
run_function_once('crontrigger_weekly', $now - $week);
run_function_once('crontrigger_monthly', $now - $month);
run_function_once('crontrigger_yearly', $now - $year);
+ ob_flush();
}