original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Remove previous merged assets
docstring_tokens: Remove previous merged assets