diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-22 17:05:00 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-22 22:30:24 -0700 |
commit | 89ca1590e4435da56fc15c74fcff74b467bb8717 (patch) | |
tree | 35e7fea44424d11c4454aaf71d893d18657a8899 | |
parent | 36adc11f058404c78bf0d804d8fe5be6cfa6f515 (diff) |
When uninstalling a module call graphics:remove_rules instead of graphics remove_rule.
-rw-r--r-- | modules/gallery/helpers/module.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/module.php b/modules/gallery/helpers/module.php index fb298959..1d77e63d 100644 --- a/modules/gallery/helpers/module.php +++ b/modules/gallery/helpers/module.php @@ -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(); |