From 5912f5141e7af2fd09232a41ab6df8718759ab8e Mon Sep 17 00:00:00 2001 From: William Panting Date: Fri, 16 Sep 2011 14:55:42 -0300 Subject: [PATCH] ISLANDORA-336 I removed the unnecesary object creation. --- api/fedora_collection.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/api/fedora_collection.inc b/api/fedora_collection.inc index 16659c7f..b8afc5c4 100644 --- a/api/fedora_collection.inc +++ b/api/fedora_collection.inc @@ -69,7 +69,6 @@ function export_collection($collection_pid, $relationship = 'isMemberOfCollectio */ function get_related_items_as_xml($collection_pid, $relationship = array('isMemberOfCollection'), $limit = 10000, $offset = 0, $active_objects_only = TRUE, $cmodel = NULL, $orderby = '$title') { module_load_include('inc', 'fedora_repository', 'ObjectHelper'); - $collection_item = new Fedora_Item($collection_pid); global $user; if (!fedora_repository_access(OBJECTHELPER :: $OBJECT_HELPER_VIEW_FEDORA, $pid, $user)) {