Browse Source

Merge pull request #365 from nhart/6.x

do not cache islandora object or collection pages
6.x
Adam 12 years ago
parent
commit
367e5772db
  1. 5
      fedora_repository.module

5
fedora_repository.module

@ -1077,8 +1077,9 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU
module_load_include('inc', 'fedora_repository', 'ObjectHelper'); module_load_include('inc', 'fedora_repository', 'ObjectHelper');
module_load_include('inc', 'fedora_repository', 'api/fedora_utils'); module_load_include('inc', 'fedora_repository', 'api/fedora_utils');
module_load_include('inc', 'fedora_repository', 'api/fedora_item'); module_load_include('inc', 'fedora_repository', 'api/fedora_item');
global $user; global $user, $conf;
$conf['cache'] = CACHE_DISABLED;
if (!fedora_available()) { if (!fedora_available()) {
drupal_set_message(t('The Fedora repository server is currently unavailable. Please contact the site administrator.'), 'warning', FALSE); drupal_set_message(t('The Fedora repository server is currently unavailable. Please contact the site administrator.'), 'warning', FALSE);
return ''; return '';

Loading…
Cancel
Save