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');
    }
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');
    }
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' ) ; }
Deletes a language
Deletes a language