diff --git a/ObjectHelper.inc b/ObjectHelper.inc index d34e64c3..408b2604 100644 --- a/ObjectHelper.inc +++ b/ObjectHelper.inc @@ -137,9 +137,6 @@ class ObjectHelper { $fedoraPass = $user->pass; } - $dataStreamInfo = $item->get_datastream_info($dsID); - $contentSize = $dataStreamInfo->datastream->size; - if (function_exists("curl_init")) { $url = variable_get('fedora_base_url', 'http://localhost:8080/fedora') . '/objects/' . $pid . '/datastreams/' . $dsID . '/content'; $query_options = array();