From: stronk7 Date: Mon, 7 Jul 2003 19:20:52 +0000 (+0000) Subject: Some debug info commented X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=04ab6cabc6642a01e0d2956b7510cbe29c15aca4;p=moodle.git Some debug info commented --- diff --git a/backup/backuplib.php b/backup/backuplib.php index e17f5c2530..5fdba94510 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -892,9 +892,9 @@ //Define zip destination (course dir) $to_zip_file = $CFG->dataroot."/".$preferences->backup_course; - echo "

From: ".$from_zip_file."
"; //Debug + //echo "

From: ".$from_zip_file."
"; //Debug - echo "

Checking: ".$to_zip_file."
"; //Debug + //echo "

Checking: ".$to_zip_file."
"; //Debug //Checks course dir exists $status = check_dir_exists($to_zip_file,true); @@ -902,7 +902,7 @@ //Define zip destination (backup dir) $to_zip_file = $to_zip_file."/".get_string("backupdir"); - echo "

Checking: ".$to_zip_file."
"; //Debug + //echo "

Checking: ".$to_zip_file."
"; //Debug //Checks backup dir exists $status = check_dir_exists($to_zip_file,true); @@ -910,7 +910,7 @@ //Define zip destination (zip file) $to_zip_file = $to_zip_file."/".$preferences->backup_name; - echo "

To: ".$to_zip_file."
"; //Debug + //echo "

To: ".$to_zip_file."
"; //Debug //Copy zip file if ($status) { diff --git a/backup/restorelib.php b/backup/restorelib.php index 8786c64ed7..b7eec5e04e 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -923,9 +923,9 @@ $this->level++; $this->tree[$this->level] = $tagName; - if ($tagName == "MOD" && $this->tree[3] == "MODULES") { //Debug - echo "

MOD: ".strftime ("%X",time()),"-"; //Debug - } //Debug + //if ($tagName == "MOD" && $this->tree[3] == "MODULES") { //Debug + // echo "

MOD: ".strftime ("%X",time()),"-"; //Debug + //} //Debug //Output something to avoid browser timeouts... backup_flush(); @@ -1463,9 +1463,9 @@ //Prepend XML standard header to info gathered $xml_data = "\n".$this->temp; //Call to xmlize for this portion of xml data (one MOD) - echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug + //echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug $data = xmlize($xml_data,0); - echo strftime ("%X",time())."

"; //Debug + //echo strftime ("%X",time())."

"; //Debug //traverse_xmlize($data); //Debug //print_object ($GLOBALS['traverse_array']); //Debug //$GLOBALS['traverse_array']=""; //Debug