|
|
@ -518,8 +518,6 @@ RDF; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function get_datastream_dissemination($dsid, $as_of_date_time = "", $quiet=TRUE) { |
|
|
|
function get_datastream_dissemination($dsid, $as_of_date_time = "", $quiet=TRUE) { |
|
|
|
if (!array_key_exists($dsid, $this->datastreams)) { |
|
|
|
if (!array_key_exists($dsid, $this->datastreams)) { |
|
|
|
watchdog('fedora_repository', 'Requested invalid datastream dissemination @dsid on object @pid', |
|
|
|
|
|
|
|
array('@dsid' => $dsid, '@pid' => $pid)); |
|
|
|
|
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -549,8 +547,6 @@ RDF; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function get_datastream($dsid, $as_of_date_time = '', $quiet = TRUE) { |
|
|
|
function get_datastream($dsid, $as_of_date_time = '', $quiet = TRUE) { |
|
|
|
if (!array_key_exists($dsid, $this->datastreams)) { |
|
|
|
if (!array_key_exists($dsid, $this->datastreams)) { |
|
|
|
watchdog('fedora_repository', 'Requested invalid datastream dissemination @dsid on object @pid', |
|
|
|
|
|
|
|
array('@dsid' => $dsid, '@pid' => $pid)); |
|
|
|
|
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
} |
|
|
|
$params = array( |
|
|
|
$params = array( |
|
|
|