mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
20 lines
441 B
PHP
20 lines
441 B
PHP
<?php
|
|
|
|
function glossary_upgrade($oldversion) {
|
|
/// This function does anything necessary to upgrade
|
|
/// older versions to match current functionality
|
|
|
|
global $CFG;
|
|
|
|
if ($oldversion < 2004022200) {
|
|
if (!empty($CFG->textfilters)) {
|
|
$CFG->textfilters = str_replace("dynalink.php", "filter.php", $CFG->textfilters);
|
|
set_config("textfilters", $CFG->textfilters);
|
|
}
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
?>
|