protected function deleteFieldValue()
    {
        $this->controlAccess('field_value_delete');

        if ($this->field_value->delete($this->data_field_value['field_value_id'])) {
            $url = "admin/content/field/value/{$this->data_field['field_id']}";
            $this->redirect($url, $this->text('Field value has been deleted'), 'success');
        }

        $this->redirect('', $this->text('Field value has not been deleted'), 'warning');
    }
protected function deleteFieldValue()
    {
        $this->controlAccess('field_value_delete');

        if ($this->field_value->delete($this->data_field_value['field_value_id'])) {
            $url = "admin/content/field/value/{$this->data_field['field_id']}";
            $this->redirect($url, $this->text('Field value has been deleted'), 'success');
        }

        $this->redirect('', $this->text('Field value has not been deleted'), 'warning');
    }
protected function deleteFieldValue ( ) { $ this -> controlAccess ( 'field_value_delete' ) ; if ( $ this -> field_value -> delete ( $ this -> data_field_value [ 'field_value_id' ] ) ) { $ url = "admin/content/field/value/{$this->data_field['field_id']}" ; $ this -> redirect ( $ url , $ this -> text ( 'Field value has been deleted' ) , 'success' ) ; } $ this -> redirect ( '' , $ this -> text ( 'Field value has not been deleted' ) , 'warning' ) ; }
Deletes a field value
Deletes a field value