bstrahija / assets-ci

Simple assets library for CodeIgniter. Ability to combine, minify and use the Less syntax.
http://creolab.hr
112 stars 31 forks source link

useless if statement i think on line 294 [libraries/assets.php] #1

Closed zaherg closed 13 years ago

zaherg commented 13 years ago

is there any need for [ if statement ] on line [294] // Combine if ($type == 'css' and $this->less_css) { //$data .= $contents; $data .= $this->_process($contents, $type, 'minify', $base_url); } else { $data .= $this->_process($contents, $type, 'minify', $base_url); } i still think its the same with or without the if

bstrahija commented 13 years ago

I guess you're right, will take a look at this tonight.