Code Duplication    Length = 3-3 lines in 2 locations

classes/autoptimizeScripts.php 1 location

@@ 35-37 (lines=3) @@
32
33
        // is there JS we should simply remove
34
        $removableJS = apply_filters( 'autoptimize_filter_js_removables', '');
35
        if (!empty($removableJS)) {
36
            $this->jsremovables = array_filter(array_map('trim',explode(",",$removableJS)));
37
        }
38
39
        // only header?
40
        if( apply_filters('autoptimize_filter_js_justhead',$options['justhead']) == true ) {

classes/autoptimizeStyles.php 1 location

@@ 40-42 (lines=3) @@
37
            $removableCSS = "";
38
        }
39
        $removableCSS = apply_filters( 'autoptimize_filter_css_removables', $removableCSS);
40
        if (!empty($removableCSS)) {
41
            $this->cssremovables = array_filter(array_map('trim',explode(",",$removableCSS)));
42
        }
43
44
        $this->cssinlinesize = apply_filters('autoptimize_filter_css_inlinesize',256);
45