From d9f4955736ca202ea5a829dbc7f38306fc17c450 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 23 Oct 2012 14:54:26 +0100 Subject: [PATCH] No longer check if CodeMirror is latest version This is down to me to update upon new CM versions being released User wouldn't be interested and upgrading to newer version could cause complications It's also another check/dependency to slow things down/interfere Because of these reasons, I'm dropping this check --- index.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/index.php b/index.php index eba2d01..620f38e 100644 --- a/index.php +++ b/index.php @@ -12,12 +12,6 @@ if ($ICEcoder["checkUpdates"]) { $icv = rtrim(ltrim($icv,'"'),'"\\n'); if ($ICEcoder["versionNo"]<$icv) { $updateMsg = ';top.ICEcoder.message(\'ICEcoder '.$icv.' now released\n\nPlease upgrade\')'; - } else { - $cmv = json_encode(file_get_contents("http://codemirror.net/latest-version.txt")); - $cmv = rtrim(ltrim($cmv,'"'),'"\\n'); - if ($ICEcoder["cMThisVer"]<$cmv) { - $updateMsg = ';top.ICEcoder.message(\'CodeMirror '.$cmv.' now released\n\nPlease upgrade\')'; - } } } ?>