Browse Source

Updated the watchdog

pull/130/merge
jonathangreen 13 years ago
parent
commit
bf5f0b40bc
  1. 4
      api/fedora_item.inc

4
api/fedora_item.inc

@ -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(

Loading…
Cancel
Save