summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gallery.install4
1 files changed, 3 insertions, 1 deletions
diff --git a/gallery.install b/gallery.install
index 4c690ed..a6f633b 100644
--- a/gallery.install
+++ b/gallery.install
@@ -16,8 +16,10 @@ function gallery_install() {
* Implementation of hook_uninstall
*/
function gallery_uninstall() {
- // remove all gallery related variables
+ // Remove all gallery related variables
db_query("DELETE FROM {variable} WHERE name LIKE 'gallery_%'");
+ // Remove from blocks table
+ db_query("DELETE FROM {blocks} WHERE module = 'gallery'");
}
?>