From 5e4388d7b516482bf9ffce0eb65c1d00043508f6 Mon Sep 17 00:00:00 2001 From: willtp87 Date: Sat, 17 May 2014 18:09:45 -0300 Subject: [PATCH] removing deprecated constants --- islandora.module | 13 ------------- tests/islandora_hooked_access_test.module | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/islandora.module b/islandora.module index ef299215..ff077212 100644 --- a/islandora.module +++ b/islandora.module @@ -64,19 +64,6 @@ define('ISLANDORA_DERVIATIVE_CREATION_HOOK', 'islandora_derivative'); define('ISLANDORA_CONTENT_MODELS_AUTOCOMPLETE', 'islandora/autocomplete/content-models'); define('ISLANDORA_MIME_TYPES_AUTOCOMPLETE', 'islandora/autocomplete/mime-types'); -/** - * @deprecated Constants. - */ -// @codingStandardsIgnoreStart -define('DS_COMP_STREAM', ISLANDORA_DS_COMP_STREAM); -define('FEDORA_VIEW_OBJECTS', ISLANDORA_VIEW_OBJECTS); -define('FEDORA_METADATA_EDIT', ISLANDORA_METADATA_EDIT); -define('FEDORA_ADD_DS', ISLANDORA_ADD_DS); -define('FEDORA_INGEST', ISLANDORA_INGEST); -define('FEDORA_PURGE', ISLANDORA_PURGE); -define('FEDORA_MANAGE_PROPERTIES', ISLANDORA_MANAGE_PROPERTIES); -// @codingStandardsIgnoreEnd - /** * Implements hook_menu(). * diff --git a/tests/islandora_hooked_access_test.module b/tests/islandora_hooked_access_test.module index e21c0819..6f5861f7 100644 --- a/tests/islandora_hooked_access_test.module +++ b/tests/islandora_hooked_access_test.module @@ -23,7 +23,7 @@ function islandora_hooked_access_test_islandora_object_access($op, $object, $use * Implements hook_islandora_datastream_access(). */ function islandora_hooked_access_test_islandora_datastream_access($op, $datastream, $user) { - if ($op == FEDORA_PURGE) { + if ($op == ISLANDORA_PURGE) { return FALSE; } if (isset($_SESSION['islandora_hooked_access_test']) && $_SESSION['islandora_hooked_access_test'] === func_get_args()) {