Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address ISLANDORA-977. #92

Merged
merged 3 commits into from
Sep 25, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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');
}