From 6b05e20316b4d5083d828a3edd7d0fbab393d53e Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Tue, 3 Jul 2012 09:42:46 -0400 Subject: [PATCH] Remove lines creating getDatastream error... --- ObjectHelper.inc | 3 --- 1 file changed, 3 deletions(-) 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();