Browse Source

Fix travis tuque warning

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

3
includes/tuque_wrapper.inc

@ -254,7 +254,8 @@ class IslandoraFedoraObject extends FedoraObject {
}
catch (Exception $e) {
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. As of 7.x-1.10 the function signature for ingestDatastream will be changed from returning FALSE on failure to throwing an exception.', array(
$message = format_string('The datastream @dsid already exists on the object: @pid.
Returning FALSE on ingestDatastream() is deprecated in 7.x-1.10. See https://github.com/Islandora/islandora/pull/680/.', array(
'@dsid' => $datastream->id,
'@pid' => $object->id,
));

Loading…
Cancel
Save