original_string: protected function deleteLanguage()
      {
          $this->controlAccess('language_delete');
  
          if ($this->language->delete($this->data_language['code'])) {
              $this->redirect('admin/settings/language', $this->text('Language has been deleted'), 'success');
          }
  
          $this->redirect('', $this->text('Language has not been deleted'), 'warning');
      }
code: protected function deleteLanguage()
      {
          $this->controlAccess('language_delete');
  
          if ($this->language->delete($this->data_language['code'])) {
              $this->redirect('admin/settings/language', $this->text('Language has been deleted'), 'success');
          }
  
          $this->redirect('', $this->text('Language has not been deleted'), 'warning');
      }
code_tokens: protected function deleteLanguage ( ) { $ this -> controlAccess ( 'language_delete' ) ; if ( $ this -> language -> delete ( $ this -> data_language [ 'code' ] ) ) { $ this -> redirect ( 'admin/settings/language' , $ this -> text ( 'Language has been deleted' ) , 'success' ) ; } $ this -> redirect ( '' , $ this -> text ( 'Language has not been deleted' ) , 'warning' ) ; }
docstring: Deletes a language
docstring_tokens: Deletes a language