Further integration of backup into main Moodle.
The database checks/upgrades are now done on the main admin page like the other modules. The database files are now standard format .sql and .php files PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
This commit is contained in:
@@ -209,6 +209,12 @@
|
||||
}
|
||||
|
||||
|
||||
/// Upgrade backup/restore system if necessary
|
||||
|
||||
require_once("$CFG->dirroot/backup/lib.php");
|
||||
upgrade_backup_db("$CFG->wwwroot/$CFG->admin/index.php"); // Return here afterwards
|
||||
|
||||
|
||||
/// Find and check all modules and load them up or upgrade them if necessary
|
||||
|
||||
if (!$mods = get_list_of_plugins("mod") ) {
|
||||
|
||||
Reference in New Issue
Block a user