|
|
@ -207,6 +207,7 @@ class IslandoraFedoraApiM extends FedoraApiM { |
|
|
|
'params' => $params, |
|
|
|
'params' => $params, |
|
|
|
); |
|
|
|
); |
|
|
|
islandora_alter_datastream($object, $datastream, $context); |
|
|
|
islandora_alter_datastream($object, $datastream, $context); |
|
|
|
|
|
|
|
$params = $context['params']; |
|
|
|
if (isset($params['lastModifiedDate'])) { |
|
|
|
if (isset($params['lastModifiedDate'])) { |
|
|
|
$params['lastModifiedDate'] = (string) $object[$dsid]->createdDate; |
|
|
|
$params['lastModifiedDate'] = (string) $object[$dsid]->createdDate; |
|
|
|
} |
|
|
|
} |
|
|
@ -244,6 +245,7 @@ class IslandoraFedoraApiM extends FedoraApiM { |
|
|
|
'params' => $params, |
|
|
|
'params' => $params, |
|
|
|
); |
|
|
|
); |
|
|
|
islandora_alter_object($object, $context); |
|
|
|
islandora_alter_object($object, $context); |
|
|
|
|
|
|
|
$params = $context['params']; |
|
|
|
try { |
|
|
|
try { |
|
|
|
if ($context['block']) { |
|
|
|
if ($context['block']) { |
|
|
|
throw new Exception('Modify Object was blocked.'); |
|
|
|
throw new Exception('Modify Object was blocked.'); |
|
|
|