Browse Source

Coding style fixes.

pull/300/head
Jordan Dukart 12 years ago
parent
commit
82fa859e3b
  1. 4
      islandora.module

4
islandora.module

@ -1077,7 +1077,7 @@ function islandora_entity_property_info() {
* @return array * @return array
* A renderable array. * A renderable array.
*/ */
function islandora_print_object(FedoraObject $object) { function islandora_print_object(AbstractObject $object) {
drupal_set_title($object->label); drupal_set_title($object->label);
return theme('islandora_object_print', array('object' => $object)); return theme('islandora_object_print', array('object' => $object));
} }
@ -1085,7 +1085,7 @@ function islandora_print_object(FedoraObject $object) {
/** /**
* Menu callback downloads the given clip. * Menu callback downloads the given clip.
*/ */
function islandora_download_clip(FedoraObject $object) { function islandora_download_clip(AbstractObject $object) {
if (isset($_GET['clip'])) { if (isset($_GET['clip'])) {
$is_https = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on'; $is_https = isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on';
$http_protocol = $is_https ? 'https' : 'http'; $http_protocol = $is_https ? 'https' : 'http';

Loading…
Cancel
Save