|
|
|
@ -681,11 +681,11 @@ function islandora_print_object(AbstractObject $object) {
|
|
|
|
|
* configuraton. |
|
|
|
|
*/ |
|
|
|
|
function islandora_print_object_access($op, $object) { |
|
|
|
|
$access = islandora_object_access($op, $object); |
|
|
|
|
if ($access && variable_get('islandora_show_print_option', FALSE)) { |
|
|
|
|
return $access; |
|
|
|
|
if (!variable_get('islandora_show_print_option', FALSE)) { |
|
|
|
|
return FALSE; |
|
|
|
|
} |
|
|
|
|
return FALSE; |
|
|
|
|
$access = islandora_object_access($op, $object); |
|
|
|
|
return $access; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|