Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

drupal7/modules/field/field.crud.inc
189 189
  }
190 190

  
191 191
  // Clear caches
192
  field_cache_clear(TRUE);
192
  field_cache_clear();
193 193

  
194 194
  // Invoke external hooks after the cache is cleared for API consistency.
195 195
  module_invoke_all('field_create_field', $field);
......
288 288
  drupal_write_record('field_config', $field, $primary_key);
289 289

  
290 290
  // Clear caches
291
  field_cache_clear(TRUE);
291
  field_cache_clear();
292 292

  
293 293
  // Invoke external hooks after the cache is cleared for API consistency.
294 294
  module_invoke_all('field_update_field', $field, $prior_field, $has_data);
......
430 430
    ->execute();
431 431

  
432 432
  // Clear the cache.
433
  field_cache_clear(TRUE);
433
  field_cache_clear();
434 434

  
435 435
  module_invoke_all('field_delete_field', $field);
436 436
}

Also available in: Unified diff