Code Duplication    Length = 4-4 lines in 2 locations

bundles/core/Router.php 2 locations

@@ 571-574 (lines=4) @@
568
                if ($oMobileDetect->isMobile()) { $sCacheExt = '.mobi'; }
569
                else { $sCacheExt = ''; }
570
571
                if (defined('COMPRESS_HTML') && COMPRESS_HTML) {
572
573
                    $mReturn = str_replace(array("\t", "\r", "  "), array("", "", " "), $mReturn);
574
                }
575
576
                Cache::set($RequestUri.$sCacheExt, $mReturn, $oRoute->cache->max_age);
577
            }
@@ 668-671 (lines=4) @@
665
            if ($oMobileDetect->isMobile()) { $sCacheExt = '.mobi'; }
666
            else { $sCacheExt = ''; }
667
668
            if (defined('COMPRESS_HTML') && COMPRESS_HTML) {
669
670
                $mReturn = str_replace(array("\t", "\r", "  "), array("", "", "", " "), $mReturn);
671
            }
672
673
            Cache::set($sActionName.$sCacheExt, $mReturn, $aPhpDoc['Cache']['maxage']);
674
        }