|
|
|
@ -118,7 +118,7 @@ function islandora_regenerate_object_derivatives_batch(AbstractObject $object) {
|
|
|
|
|
*/ |
|
|
|
|
function islandora_regenerate_datastream_derivative_batch(AbstractDatastream $datastream) { |
|
|
|
|
module_load_include('inc', 'islandora', 'includes/derivatives'); |
|
|
|
|
islandora_remove_defer_derivatives_flag($object); |
|
|
|
|
islandora_remove_defer_derivatives_flag($datastream->parent); |
|
|
|
|
return array( |
|
|
|
|
'title' => t('Regenerating derivatives for the @dsid datastream', array('@dsid' => $datastream->id)), |
|
|
|
|
'operations' => islandora_do_batch_derivatives($datastream->parent, array( |
|
|
|
|