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']]);
            }
        }
    }
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']]);
            }
        }
    }
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' ] ] ) ; } } }
Removes from "options" table any entry registered by the plugin.

@return void
Removes from options table any entry registered by the plugin .