Browse Source

Another attempt to fix travis

pull/721/head
Brandon Weigel 6 years ago
parent
commit
13d87d49bd
  1. 4
      includes/tuque_wrapper.inc

4
includes/tuque_wrapper.inc

@ -254,8 +254,8 @@ 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)) {
$message = format_string('The datastream @dsid already exists on the object: @pid. $message = format_string('Returning FALSE on ingestDatastream() is deprecated in 7.x-1.10. See https://github.com/Islandora/islandora/pull/680/.
Returning FALSE on ingestDatastream() is deprecated in 7.x-1.10. See https://github.com/Islandora/islandora/pull/680/.', array( 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