Browse Source

Fixed botched commit

pull/108/merge
rwincewicz 13 years ago
parent
commit
d76be48a24
  1. 4
      islandora.module

4
islandora.module

@ -424,16 +424,13 @@ function islandora_islandora_view_object($object) {
$object_models = $object->models;
$combined_list = array_intersect($supported_models, $object->models);
$output = "";
<<<<<<< HEAD
if (empty($combined_list)) {
$output = theme('islandora_default', array('islandora_object' => $object));
return array('Default Output' => $output);
=======
foreach ($object->models as $model) {
if (isset($supported_models[$model][ISLANDORA_VIEW_HOOK]) && $supported_models[$model][ISLANDORA_VIEW_HOOK] == TRUE) {//another module is handling the view
return;
}
>>>>>>> a364874a78dd45f202ba5ef18292bf77f6bf591e
}
}
@ -537,3 +534,4 @@ function islandora_preprocess_islandora_default_edit(&$variables) {
}
}
}
Loading…
Cancel
Save