Browse Source

reverted auto-formatting

pull/307/head
Alan Stanley 12 years ago
parent
commit
273e591f6e
  1. 6
      includes/utilities.inc

6
includes/utilities.inc

@ -124,7 +124,8 @@ function islandora_describe_repository($url = NULL) {
try {
$info = $connection->api->a->describeRepository();
return $info;
} catch (RepositoryException $e) {
}
catch (RepositoryException $e) {
return FALSE;
}
}
@ -282,7 +283,8 @@ function islandora_get_parents_from_rels_ext(FedoraObject $object) {
$collections = array_merge(
$object->relationships->get(FEDORA_RELS_EXT_URI, 'isMemberOfCollection'),
$object->relationships->get(FEDORA_RELS_EXT_URI, 'isMemberOf'));
} catch (RepositoryException $e) {
}
catch (RepositoryException $e) {
// @todo some logging would be nice, not sure what this throws.
return array();
}

Loading…
Cancel
Save