forked from Islandora/islandora_internet_archive_bookreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
islandora_internet_archive_bookreader.install
31 lines (29 loc) · 1.17 KB
/
islandora_internet_archive_bookreader.install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* @file
* Defines the install/uninstall hooks for this module.
*/
/**
* Implements hook_uninstall().
*/
function islandora_internet_archive_bookreader_uninstall() {
$variables = array(
'islandora_internet_archive_bookreader_djatoka_url',
'islandora_internet_archive_bookreader_compression',
'islandora_internet_archive_bookreader_ocr_field',
'islandora_internet_archive_bookreader_ocr_filter_field',
'islandora_internet_archive_bookreader_solr_result_count',
'islandora_internet_archive_bookreader_sequence_number',
'islandora_internet_archive_bookreader_overlay_opacity',
'islandora_internet_archive_bookreader_default_page_view',
'islandora_internet_archive_bookreader_imageserver',
'islandora_internet_archive_bookreader_iiif_url',
'islandora_internet_archive_bookreader_image_max_width',
'islandora_internet_archive_bookreader_tile_url_prefix',
'islandora_internet_archive_bookreader_tile_url_suffix',
'islandora_internet_archive_bookreader_use_token',
'islandora_internet_archive_bookreader_info_views',
);
// Delete the Drupal variables defined by this module.
array_walk($variables, 'variable_del');
}