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