Frequently Asked Question

Undo Moodle Database Update
Last Updated a year ago

Moodle will detect any changed on plugins by generated hash and compare it with the previous saved one on table mdl_config.

To rollback database update sequence, we need to tell moodle there are no changed on plugins by matching the has value.

hash version value saved on table mdl_config with name allversionshash must be identical with value generated from function core_component::get_all_versions_hash();

Use function moodle_needs_upgrading() in libs/moodlelib.php to debug the value of the hash.

Please Wait!

Please wait... it will take a second!