From 8edf3fe23688b0c9506934a47075639c41afdc32 Mon Sep 17 00:00:00 2001
From: nruest <ruestn@gmail.com>
Date: Fri, 5 Sep 2014 11:21:20 -0400
Subject: [PATCH 1/2] Address ISLANDORA-977.

---
 islandora_solr_metadata.install | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/islandora_solr_metadata.install b/islandora_solr_metadata.install
index ba1865c..71addd4 100644
--- a/islandora_solr_metadata.install
+++ b/islandora_solr_metadata.install
@@ -121,6 +121,17 @@ function islandora_solr_metadata_schema() {
   return $schema;
 }
 
+/**
+  *  * Implements hook_uninstall().
+  *   */
+function islandora_solr_metadata_uninstall () {
+  $variables = array(
+    'islandora_solr_metadata_omit_empty_values',
+    'islandora_solr_metadata_dedup_values',
+  );
+  array_walk($variables, 'variable_del');
+}
+
 /**
  * Add the hyperlink column to the database going forward.
  */

From 0c928857a53bd7adebe204f167fa75f314531e72 Mon Sep 17 00:00:00 2001
From: nruest <ruestn@gmail.com>
Date: Sat, 6 Sep 2014 12:01:27 -0400
Subject: [PATCH 2/2] Coding standards

---
 islandora_solr_metadata.install | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/islandora_solr_metadata.install b/islandora_solr_metadata.install
index 71addd4..f11f9fa 100644
--- a/islandora_solr_metadata.install
+++ b/islandora_solr_metadata.install
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * @file
  * Implementations of installation hooks.
@@ -122,9 +123,9 @@ function islandora_solr_metadata_schema() {
 }
 
 /**
-  *  * Implements hook_uninstall().
-  *   */
-function islandora_solr_metadata_uninstall () {
+ * Implements hook_uninstall().
+ */
+function islandora_solr_metadata_uninstall() {
   $variables = array(
     'islandora_solr_metadata_omit_empty_values',
     'islandora_solr_metadata_dedup_values',