From 3607ddf7ff434794bc61ed1a30d068abcdf1270f Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 22 Oct 2009 17:05:00 -0700 Subject: When uninstalling a module call graphics:remove_rules instead of graphics remove_rule. --- modules/gallery/helpers/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gallery/helpers/module.php b/modules/gallery/helpers/module.php index 77ec6f63..5b34f453 100644 --- a/modules/gallery/helpers/module.php +++ b/modules/gallery/helpers/module.php @@ -253,7 +253,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(); -- cgit v1.2.3