protected function refreshLanguage()
    {
        $this->controlToken('refresh');

        $code = $this->getQuery('refresh');
        if (!empty($code) && $this->access('language_edit') && $this->translation->refresh($code)) {
            $this->redirect('', $this->text('Language has been refreshed'), 'success');
        }
    }
protected function refreshLanguage()
    {
        $this->controlToken('refresh');

        $code = $this->getQuery('refresh');
        if (!empty($code) && $this->access('language_edit') && $this->translation->refresh($code)) {
            $this->redirect('', $this->text('Language has been refreshed'), 'success');
        }
    }
protected function refreshLanguage ( ) { $ this -> controlToken ( 'refresh' ) ; $ code = $ this -> getQuery ( 'refresh' ) ; if ( ! empty ( $ code ) && $ this -> access ( 'language_edit' ) && $ this -> translation -> refresh ( $ code ) ) { $ this -> redirect ( '' , $ this -> text ( 'Language has been refreshed' ) , 'success' ) ; } }
Removes a cached translation
Removes a cached translation