Browse Source

miscomunication and mistakes fixin

pull/587/head
willtp87 10 years ago
parent
commit
0e82e30d0a
  1. 14
      includes/tuque_wrapper.inc

14
includes/tuque_wrapper.inc

@ -267,7 +267,9 @@ class IslandoraFedoraObject extends FedoraObject {
return array();
default:
return parent::purgeDatastream($id);
$to_return = parent::purgeDatastream($id);
islandora_invoke_datastream_hooks(ISLANDORA_DATASTREAM_PURGED_HOOK, $this->models, $id, $this, $id);
return $to_return;
}
}
catch (Exception $e) {
@ -333,16 +335,6 @@ class IslandoraFedoraApiM extends FedoraApiM {
return parent::modifyDatastream($pid, $dsid, $params);
}
/**
* Purge a datastream from from Fedora.
*
* @see FedoraApiM::purgeDatastream
*/
public function purgeDatastream($pid, $dsid, $params = array()) {
$object = islandora_object_load($pid);
islandora_invoke_datastream_hooks(ISLANDORA_DATASTREAM_PURGED_HOOK, $object->models, $dsid, $object, $dsid);
}
/**
* Update Fedora Object parameters.
*

Loading…
Cancel
Save