From 0c8af272e0b46ceb7657adaf96d975351cfebf8c Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Sat, 31 Jan 2009 16:22:50 +0000
Subject: [PATCH] #361135 by Dave Reid: Clean up taxonomy variables on
 uninstall.

---
 modules/taxonomy/taxonomy.install | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install
index 618f1c1bd29b..caa0e2c15123 100644
--- a/modules/taxonomy/taxonomy.install
+++ b/modules/taxonomy/taxonomy.install
@@ -15,6 +15,10 @@ function taxonomy_install() {
 function taxonomy_uninstall() {
   // Remove tables.
   drupal_uninstall_schema('taxonomy');
+
+  // Remove variables.
+  variable_del('taxonomy_override_selector');
+  variable_del('taxonomy_terms_per_page_admin');
 }
 
 /**
-- 
GitLab