Browse Source

test working again

pull/376/head
William Panting 12 years ago
parent
commit
aba19555ca
  1. 3
      tests/islandora_hooked_access_test.module

3
tests/islandora_hooked_access_test.module

@ -23,6 +23,9 @@ 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) {
return FALSE;
}
if (isset($_SESSION['islandora_hooked_access_test']) && $_SESSION['islandora_hooked_access_test'] === func_get_args()) {
return TRUE;
}

Loading…
Cancel
Save