MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir

This commit is contained in:
Tom Lanyon
2011-09-10 10:35:39 +02:00
committed by Petr Skoda
parent 3e93987142
commit 7aa06e6ded
50 changed files with 111 additions and 111 deletions
@@ -32,7 +32,7 @@
*/
class restore_controller extends backup implements loggable {
protected $tempdir; // Directory under dataroot/temp/backup awaiting restore
protected $tempdir; // Directory under tempdir/backup awaiting restore
protected $restoreid; // Unique identificator for this restore
protected $courseid; // courseid where restore is going to happen
@@ -61,7 +61,7 @@ class restore_controller extends backup implements loggable {
/**
*
* @param string $tempdir Directory under dataroot/temp/backup awaiting restore
* @param string $tempdir Directory under tempdir/backup awaiting restore
* @param int $courseid Course id where restore is going to happen
* @param bool $interactive backup::INTERACTIVE_YES[true] or backup::INTERACTIVE_NO[false]
* @param int $mode backup::MODE_[ GENERAL | HUB | IMPORT | SAMESITE ]