Skip to content

Commit

Permalink
Merge pull request #92 from ruebot/7.x-ISLANDORA-977
Browse files Browse the repository at this point in the history
Address ISLANDORA-977.
  • Loading branch information
jordandukart committed Sep 25, 2014
2 parents b4eb892 + 1c5aa31 commit 95a6ea5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api/islandora_xacml_api.install
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
21 changes: 21 additions & 0 deletions islandora_xacml_editor.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* @file
* This file contains all install related hooks.
*/

/**
* Implements hook_uninstall().
*/
function islandora_xacml_editor_uninstall() {
$variables = array(
'islandora_xacml_editor_restricted_dsids',
'islandora_xacml_editor_restricted_mimes',
'islandora_xacml_editor_show_dsidregex',
'islandora_xacml_editor_show_mimeregex',
'islandora_xacml_editor_default_users',
'islandora_xacml_editor_default_roles',
);
array_walk($variables, 'variable_del');
}

0 comments on commit 95a6ea5

Please sign in to comment.