From 603b7c6273af20696a1c3158792dd63b55e784b0 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 3 Mar 2009 11:44:06 +0000 Subject: Suppressing output on cron trigger git-svn-id: https://code.elgg.org/elgg/trunk@3027 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/crontrigger/start.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod') 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(); } -- cgit v1.2.3