Browse Source

copypasta omm nom

pull/537/head
willtp87 10 years ago
parent
commit
25b53ba01b
  1. 2
      includes/regenerate_derivatives.form.inc

2
includes/regenerate_derivatives.form.inc

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

Loading…
Cancel
Save