mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
When uninstalling a module call graphics:remove_rules instead of graphics remove_rule.
This commit is contained in:
@@ -254,7 +254,7 @@ class module_Core {
|
||||
call_user_func(array($installer_class, "uninstall"));
|
||||
}
|
||||
|
||||
graphics::remove_rule($module_name);
|
||||
graphics::remove_rules($module_name);
|
||||
$module = self::get($module_name);
|
||||
if ($module->loaded) {
|
||||
$module->delete();
|
||||
|
||||
Reference in New Issue
Block a user