From 7f17bcfc223f554cf30a464b6abea69a9a947061 Mon Sep 17 00:00:00 2001 From: Matthias Mullie Date: Sun, 1 Dec 2013 23:51:43 +0100 Subject: [PATCH] I had accidentally undone some valid changes; restoring now --- CSS.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CSS.php b/CSS.php index b89e696..44378c1 100644 --- a/CSS.php +++ b/CSS.php @@ -22,7 +22,7 @@ namespace MatthiasMullie\Minify; * * @author Matthias Mullie * @author Tijs Verkoyen - * @version 1.1.0 + * @version 1.2.0 * * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved. * @license MIT License @@ -55,9 +55,6 @@ class CSS extends Minify */ protected function combineImports($source, $content) { - // validate data - if($content == $source) throw new Exception('The data for "' . $source . '" could not be loaded, please make sure the path is correct.'); - // the regex to match import statements $importRegex = '/ @@ -364,9 +361,6 @@ class CSS extends Minify */ protected function move($source, $destination, $content) { - // validate data - if($content == $source) throw new Exception('The data for "' . $source . '" could not be loaded, please make sure the path is correct.'); - // regex to match paths $pathsRegex = '/