From 82c863c32177668b61568821e386cf0bfa4a7bb8 Mon Sep 17 00:00:00 2001 From: MorganDawe Date: Fri, 9 May 2014 12:28:14 +0000 Subject: [PATCH] Deleting variable in uninstall hook. --- islandora.install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/islandora.install b/islandora.install index caff7d75..f37894e9 100644 --- a/islandora.install +++ b/islandora.install @@ -43,6 +43,11 @@ function islandora_install() { function islandora_uninstall() { module_load_include('inc', 'islandora', 'includes/solution_packs'); islandora_install_solution_pack('islandora', 'uninstall'); + // Add new variables to clean up. + $variables = array( + 'islandora_ds_replace_exclude_enforced', + ); + array_walk($variables, 'variable_del'); } /**