Browse Source

clean up vars

pull/348/head
Nelson Hart 12 years ago
parent
commit
2ddfa7b53c
  1. 6
      islandora.module

6
islandora.module

@ -1129,12 +1129,12 @@ function islandora_file_mimetype_mapping_alter(&$mapping) {
/**
* A callback to get the root collection label.
* @return text
* @return text $label
* The object label of the root collection or the fallback.
*/
function islandora_repository_root_label() {
$root = variable_get('islandora_repository_pid', 'islandora:root');
$object = islandora_object_load($root);
$title = ($object ? $object->label : 'Islandora Repository');
return $title;
$label = ($object ? $object->label : 'Islandora Repository');
return $label;
}

Loading…
Cancel
Save