protected function deleteCountry()
    {
        $this->controlAccess('country_delete');

        if ($this->country->delete($this->data_country['code'])) {
            $this->redirect('admin/settings/country', $this->text('Country has been deleted'), 'success');
        }

        $this->redirect('', $this->text('Country has not been deleted'), 'warning');
    }
protected function deleteCountry()
    {
        $this->controlAccess('country_delete');

        if ($this->country->delete($this->data_country['code'])) {
            $this->redirect('admin/settings/country', $this->text('Country has been deleted'), 'success');
        }

        $this->redirect('', $this->text('Country has not been deleted'), 'warning');
    }
protected function deleteCountry ( ) { $ this -> controlAccess ( 'country_delete' ) ; if ( $ this -> country -> delete ( $ this -> data_country [ 'code' ] ) ) { $ this -> redirect ( 'admin/settings/country' , $ this -> text ( 'Country has been deleted' ) , 'success' ) ; } $ this -> redirect ( '' , $ this -> text ( 'Country has not been deleted' ) , 'warning' ) ; }
Deletes a country
Deletes a country