mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-29996 filters: fixed bug when upgrading filter plugin names
This commit is contained in:
parent
e00b5c454c
commit
b8459c0267
1 changed files with 1 additions and 1 deletions
|
@ -2677,7 +2677,7 @@ class plugininfo_filter extends plugininfo_base {
|
|||
// if it does, make sure that all installed filters are registered
|
||||
$needsreload = false;
|
||||
foreach (array_keys($installed) as $name) {
|
||||
if (!isset($globalstates[$name])) {
|
||||
if (!isset($globalstates[$name]) && !isset($globalstates['filter/'.$name])) {
|
||||
filter_set_global_state($name, TEXTFILTER_DISABLED);
|
||||
$needsreload = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue