|
|
|
@ -1974,7 +1974,7 @@ function islandora_islandora_datastream_access($op, AbstractDatastream $datastre
|
|
|
|
|
module_load_include('inc', 'islandora', 'includes/derivatives'); |
|
|
|
|
$applicable_hook = FALSE; |
|
|
|
|
$object = $datastream->parent; |
|
|
|
|
$hooks = islandora_invoke_hook_list(ISLANDORA_DERVIATIVE_CREATION_HOOK, $object->models, array($object)); |
|
|
|
|
$hooks = islandora_invoke_hook_list(ISLANDORA_DERIVATIVE_CREATION_HOOK, $object->models, array($object)); |
|
|
|
|
$hooks = islandora_filter_derivatives($hooks, array('force' => TRUE), $object); |
|
|
|
|
foreach ($hooks as $hook) { |
|
|
|
|
if (isset($hook['destination_dsid']) && $hook['destination_dsid'] == $datastream->id && |
|
|
|
|