mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Minor fixes and added more methods
This commit is contained in:
parent
17252e2d8a
commit
7336701ff1
2 changed files with 9 additions and 6 deletions
|
@ -33,13 +33,13 @@ abstract class base_converter {
|
|||
public function get_convertdir() {
|
||||
global $CFG;
|
||||
|
||||
return "$CFG->dirroot/backup/temp/$this->convertdir";
|
||||
return "$CFG->dataroot/temp/backup/$this->convertdir";
|
||||
}
|
||||
|
||||
public function get_tempdir() {
|
||||
global $CFG;
|
||||
|
||||
return "$CFG->dirroot/backup/temp/$this->tempdir";
|
||||
return "$CFG->dataroot/temp/backup/$this->tempdir";
|
||||
}
|
||||
|
||||
public function delete_convertdir() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue