Delete some debug info.
Merged from MOODLE_14_STABLE
This commit is contained in:
@@ -4345,8 +4345,6 @@ function unzip_file ($zipfile, $destination = '') {
|
||||
// -$zipfilename is the name of the zip file (without path)
|
||||
// -$destpath is the destination path where the zip file will uncompressed (dir)
|
||||
|
||||
echo "zippath: $zippath - zipfilename: $zipfilename - destpath: $destpath <br />"; //Debug
|
||||
|
||||
if (empty($CFG->unzip)) { // Use built-in php-based unzip function
|
||||
|
||||
include_once("$CFG->libdir/pclzip/pclzip.lib.php");
|
||||
@@ -4366,7 +4364,6 @@ function unzip_file ($zipfile, $destination = '') {
|
||||
escapeshellarg($CFG->unzip).' -o '.
|
||||
escapeshellarg(cleardoubleslashes("$zippath/$zipfilename")).' -d '.
|
||||
escapeshellarg($destpath).$redirection;
|
||||
echo $command;
|
||||
Exec($command,$list);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user