original_string: 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');
      }
code: 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');
      }
code_tokens: 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' ) ; }
docstring: Deletes a country
docstring_tokens: Deletes a country