From 5d865f19807f21d0670946958091c27035d039e4 Mon Sep 17 00:00:00 2001 From: Nigel Banks Date: Fri, 9 Sep 2011 14:13:27 +0100 Subject: [PATCH 1/2] ISLANDORA-322: Can't Install Islandora with out XSLT (PHP4 extension) although XSLT is not used within islandora. (Fixed) --- fedora_repository.install | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/fedora_repository.install b/fedora_repository.install index 47ab7d3c..86094893 100644 --- a/fedora_repository.install +++ b/fedora_repository.install @@ -78,18 +78,6 @@ function fedora_repository_requirements($phase) { $requirements['dom']['serenity'] = REQUIREMENT_OK; } - // Test for XSLT - $requirements['xslt']['title'] = "PHP XSLT extension library"; - if ( ! function_exists('xslt_process') ) { - $requirements['xslt']['value'] = t("Not installed"); - $requirements['xslt']['severity'] = REQUIREMENT_ERROR; - $requirements['xslt']['description'] = t("Ensure that the PHP XSLT extension is installed."); - } - else { - $requirements['xslt']['value'] = t("Installed"); - $requirements['xslt']['serenity'] = REQUIREMENT_OK; - } - // Test for Imagick $requirements['imagick']['title'] = t("Image Magick library"); //if ( ! class_exists('Imagick') ) { From 7e8f2f62c87a4b0ffb7ad3eab4749597d0740892 Mon Sep 17 00:00:00 2001 From: Nigel Banks Date: Fri, 9 Sep 2011 14:26:31 +0100 Subject: [PATCH 2/2] ISLANDORA-322: Reopened ticket, added requirement that it test for a different xsl library. --- fedora_repository.install | 61 ++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 26 deletions(-) diff --git a/fedora_repository.install b/fedora_repository.install index 86094893..08c3e05f 100644 --- a/fedora_repository.install +++ b/fedora_repository.install @@ -1,7 +1,5 @@ collection settings are correct.', - array('@collection-settings' => $base_url . '/admin/settings/fedora_repository')); + $requirements['fedora-repository']['description'] = t('Ensure that Fedora is running and that the collection settings are correct.', array('@collection-settings' => $base_url . '/admin/settings/fedora_repository')); } else { $requirements['fedora-repository']['value'] = t("Available");