Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Delete the temp dir used by backup/restore (conditionally), delete old directories and drop temp ids table. More...
Public Member Functions | |
destroy () | |
Destroy all circular references. More... | |
execute () | |
This function will perform all the actions necessary to achieve the execution of the plan/part/task. | |
get_name () | |
log ($message, $level, $a=null, $depth=null, $display=false) | |
This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed. | |
set_task ($task) | |
skip_cleaning_temp_dir ($skip) | |
Protected Member Functions | |
define_execution () | |
Function that will contain all the code to be executed. | |
get_backupid () | |
get_basepath () | |
get_courseid () | |
get_logger () | |
get_setting ($name) | |
get_setting_value ($name) | |
get_settings () | |
Protected API starts here. | |
setting_exists ($name) | |
Protected Attributes | |
$name | |
$skipcleaningtempdir = false | |
$task | |
Delete the temp dir used by backup/restore (conditionally), delete old directories and drop temp ids table.
Note we delete the directory but not the corresponding log file that will be there for, at least, 1 week - only delete_old_backup_dirs() or cron deletes log files (for easier access to them).
|
inherited |
Destroy all circular references.
It helps PHP 5.2 a lot!