Debug function deactivated

This commit is contained in:
Steven Mondji-Lerider 2013-04-23 15:00:23 +00:00
parent c06c1cf344
commit d3958786e5
1 changed files with 3 additions and 2 deletions

View File

@ -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