protected function resetSettings()
    {
        $this->controlAccess('module_edit');
        $this->module->setSettings('frontend', array());
        $this->redirect('', $this->text('Settings have been reset to default values'), 'success');
    }
protected function resetSettings()
    {
        $this->controlAccess('module_edit');
        $this->module->setSettings('frontend', array());
        $this->redirect('', $this->text('Settings have been reset to default values'), 'success');
    }
protected function resetSettings ( ) { $ this -> controlAccess ( 'module_edit' ) ; $ this -> module -> setSettings ( 'frontend' , array ( ) ) ; $ this -> redirect ( '' , $ this -> text ( 'Settings have been reset to default values' ) , 'success' ) ; }
Resets module settings to default values
Resets module settings to default values