Browse Source

See if Travis likes this

pull/721/head
Brandon Weigel 5 years ago
parent
commit
d01c5a098e
  1. 3
      includes/tuque_wrapper.inc

3
includes/tuque_wrapper.inc

@ -254,8 +254,7 @@ class IslandoraFedoraObject extends FedoraObject {
} }
catch (Exception $e) { catch (Exception $e) {
if ($e instanceof DatastreamExistsException && variable_get('islandora_deprecation_return_false_when_datastream_exists', TRUE)) { if ($e instanceof DatastreamExistsException && variable_get('islandora_deprecation_return_false_when_datastream_exists', TRUE)) {
@trigger_error('Expecting FALSE on ingestDatastream failing is deprecated in islandora:7.x-1.10. Throwing an EXCEPTION on failed ' . @trigger_error('Expecting FALSE on ingestDatastream failing is deprecated in islandora:7.x-1.10. Throwing an EXCEPTION on failed datastream ingest will be the norm in future. See https://jira.duraspace.org/browse/ISLANDORA-1995.', E_USER_DEPRECATED);
'datastream ingest will be the norm in future. See https://jira.duraspace.org/browse/ISLANDORA-1995.', E_USER_DEPRECATED);
$message_error = format_string('The datastream @dsid already exists on the object: @pid.', array( $message_error = format_string('The datastream @dsid already exists on the object: @pid.', array(
'@dsid' => $datastream->id, '@dsid' => $datastream->id,
'@pid' => $object->id, '@pid' => $object->id,

Loading…
Cancel
Save