From 5912003e4a0aa023b11bc06ebcbccc4f78179d30 Mon Sep 17 00:00:00 2001 From: Stefan Langer Date: Tue, 21 Jan 2014 11:38:30 -0500 Subject: [PATCH] ISLANDORA-441 Mistakes in last commit (n00b); reverting back to 4ef9551. This reverts commit db284877694bd9e44f7611448332e179d849b207, reversing changes made to 824f0ebb4d4ceb8b6d23c634e86c7aa54289fe5f. --- islandora.module | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/islandora.module b/islandora.module index 8405d303..8e480baa 100644 --- a/islandora.module +++ b/islandora.module @@ -1855,19 +1855,3 @@ function islandora_islandora_datastream_access($op, AbstractDatastream $datastre } return $result; } - -/** - * Determines the server's operating system. - * - * @return string - * The name of the operating system being used. - */ -function islandora_os_check() { - // Determine if PHP is currently running on Windows. (The constant - // "PHP_OS" may return "Windows," "WIN32," "WINNT," "CYGWIN_NT-5.1," etc.) - if ((strtolower(substr(PHP_OS, 0, 3)) == 'win') || - (strtolower(substr(PHP_OS, 0, 6)) == 'cygwin')) { - return 'Windows'; - } - return 'Unix'; -}