public function removeMergedAssets($pluginName = false)
    {
        $assetsToRemove = array($this->getMergedStylesheetAsset());

        if ($pluginName) {
            if ($this->pluginContainsJScriptAssets($pluginName)) {
                if (Manager::getInstance()->isPluginBundledWithCore($pluginName)) {
                    $assetsToRemove[] = $this->getMergedCoreJSAsset();
                } else {
                    $assetsToRemove[] = $this->getMergedNonCoreJSAsset();
                }
            }
        } else {
            $assetsToRemove[] = $this->getMergedCoreJSAsset();
            $assetsToRemove[] = $this->getMergedNonCoreJSAsset();
        }

        $this->removeAssets($assetsToRemove);
    }
public function removeMergedAssets($pluginName = false)
    {
        $assetsToRemove = array($this->getMergedStylesheetAsset());

        if ($pluginName) {
            if ($this->pluginContainsJScriptAssets($pluginName)) {
                if (Manager::getInstance()->isPluginBundledWithCore($pluginName)) {
                    $assetsToRemove[] = $this->getMergedCoreJSAsset();
                } else {
                    $assetsToRemove[] = $this->getMergedNonCoreJSAsset();
                }
            }
        } else {
            $assetsToRemove[] = $this->getMergedCoreJSAsset();
            $assetsToRemove[] = $this->getMergedNonCoreJSAsset();
        }

        $this->removeAssets($assetsToRemove);
    }
public function removeMergedAssets ( $ pluginName = false ) { $ assetsToRemove = array ( $ this -> getMergedStylesheetAsset ( ) ) ; if ( $ pluginName ) { if ( $ this -> pluginContainsJScriptAssets ( $ pluginName ) ) { if ( Manager :: getInstance ( ) -> isPluginBundledWithCore ( $ pluginName ) ) { $ assetsToRemove [ ] = $ this -> getMergedCoreJSAsset ( ) ; } else { $ assetsToRemove [ ] = $ this -> getMergedNonCoreJSAsset ( ) ; } } } else { $ assetsToRemove [ ] = $ this -> getMergedCoreJSAsset ( ) ; $ assetsToRemove [ ] = $ this -> getMergedNonCoreJSAsset ( ) ; } $ this -> removeAssets ( $ assetsToRemove ) ; }
Remove previous merged assets
Remove previous merged assets