From d3958786e540b3ddba1bce3f03948b9b51e0919f Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Tue, 23 Apr 2013 15:00:23 +0000 Subject: [PATCH] Debug function deactivated --- src/do_actions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/do_actions.php b/src/do_actions.php index b575968d..d0405510 100644 --- a/src/do_actions.php +++ b/src/do_actions.php @@ -35,7 +35,7 @@ */ // Put this var to 1 if you want to enable debug prints -$debug=1; +$debug=0; // Debug function that print infos function d($mess){ @@ -72,7 +72,8 @@ if (file_exists($LOCK_FILE) !== false){ die("Cannot open/write $LOCK_FILE"); } - // Get the action that was processing when previous script failed + // Get the action(s) that was processing when previous script failed + // (Normally, there will be at most 1 job pending... but who know?) while($cc=$action->get_job()){ $c=$cc[0]; // We can resume these types of action, so we reset the job to process it later