From 785c33261a778a4cbbdf31cd72a6a5d951f20139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 2 Oct 2013 14:12:01 +0200 Subject: [PATCH] We no longer minify the code --- js/get_scripts.js.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/get_scripts.js.php b/js/get_scripts.js.php index 853f1c80f0..4ba2f0d7cc 100644 --- a/js/get_scripts.js.php +++ b/js/get_scripts.js.php @@ -36,14 +36,6 @@ if (! empty($_GET['scripts']) && is_array($_GET['scripts'])) { $script_name .= DIRECTORY_SEPARATOR . $filename; } } - // if error reporting is enabled serve the unminified files - if($GLOBALS['cfg']['ErrorReporting']) { - $unminified = "sources" . DIRECTORY_SEPARATOR . $script_name; - // only serve the unminified files if they exist - if (is_readable($unminified)) { - $script_name = $unminified; - } - } // Output file contents if (preg_match("@\.js$@", $script_name) && is_readable($script_name)) {