original_string: protected function _removeOptions()
      {
          $options = [];
          if (!empty($this->_plugin->composer['extra']['options'])) {
              $this->loadModel('System.Options');
              $options = $this->_plugin->composer['extra']['options'];
          }
  
          foreach ($options as $option) {
              if (!empty($option['name'])) {
                  $this->Options->deleteAll(['name' => $option['name']]);
              }
          }
      }
code: protected function _removeOptions()
      {
          $options = [];
          if (!empty($this->_plugin->composer['extra']['options'])) {
              $this->loadModel('System.Options');
              $options = $this->_plugin->composer['extra']['options'];
          }
  
          foreach ($options as $option) {
              if (!empty($option['name'])) {
                  $this->Options->deleteAll(['name' => $option['name']]);
              }
          }
      }
code_tokens: protected function _removeOptions ( ) { $ options = [ ] ; if ( ! empty ( $ this -> _plugin -> composer [ 'extra' ] [ 'options' ] ) ) { $ this -> loadModel ( 'System.Options' ) ; $ options = $ this -> _plugin -> composer [ 'extra' ] [ 'options' ] ; } foreach ( $ options as $ option ) { if ( ! empty ( $ option [ 'name' ] ) ) { $ this -> Options -> deleteAll ( [ 'name' => $ option [ 'name' ] ] ) ; } } }
docstring: Removes from "options" table any entry registered by the plugin.
  
  @return void
docstring_tokens: Removes from options table any entry registered by the plugin .