Merge branch 'MDL-43794_m26' of https://github.com/merrill-oakland/moodle into MOODLE_26_STABLE

This commit is contained in:
Sam Hemelryk
2014-01-27 11:16:15 +13:00
+4 -2
View File
@@ -456,8 +456,10 @@ class tgz_extractor {
'Failed to close output file: ' . $this->currentfile);
}
// Update modified time.
touch($this->currentfile, $this->currentmtime);
// At this point we should touch the file to set its modified
// time to $this->currentmtime. However, when extracting to the
// temp directory, cron will delete files more than a week old,
// so to avoid problems we leave all files at their current time.
}
if ($this->currentarchivepath === tgz_packer::ARCHIVE_INDEX_FILE) {