diff --git a/api/islandora_xacml_api.install b/api/islandora_xacml_api.install index 7da773a..4ba1a54 100644 --- a/api/islandora_xacml_api.install +++ b/api/islandora_xacml_api.install @@ -5,6 +5,18 @@ * Installation/upgrade hooks. */ +/** + * Implements hook_uninstall(). + */ +function islandora_xacml_api_uninstall { + $variables = array( + 'islandora_xacml_api_save_relationships', + 'islandora_xacml_api_rels_viewable_role', + 'islandora_xacml_api_rels_viewable_user', + ); + array_walk($variables, 'variable_del'); +} + /** * Fix "inheritXacmlFrom" literals to be URIs. */ diff --git a/islandora_xacml_editor.install b/islandora_xacml_editor.install new file mode 100644 index 0000000..5bbc086 --- /dev/null +++ b/islandora_xacml_editor.install @@ -0,0 +1,21 @@ +