summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefan.r2016-07-18 09:55:43 (GMT)
committerstefan.r2016-07-18 09:55:43 (GMT)
commit8e69582fa301420d19bd53c90e587a4c6ab5a3b7 (patch)
tree846f0268a4a0f6df77628e6235ff5b7235099f79
parent8b79f437f564af5af02a8b3048fd03c39b7541f8 (diff)
Issue #2738933 by id.medion, chishah92: Remove unused argument in the function call field_cache_clear()7.x
-rw-r--r--modules/field/field.crud.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc
index ba37708..7c0e3a1 100644
--- a/modules/field/field.crud.inc
+++ b/modules/field/field.crud.inc
@@ -189,7 +189,7 @@ function field_create_field($field) {
}
// Clear caches
- field_cache_clear(TRUE);
+ field_cache_clear();
// Invoke external hooks after the cache is cleared for API consistency.
module_invoke_all('field_create_field', $field);
@@ -288,7 +288,7 @@ function field_update_field($field) {
drupal_write_record('field_config', $field, $primary_key);
// Clear caches
- field_cache_clear(TRUE);
+ field_cache_clear();
// Invoke external hooks after the cache is cleared for API consistency.
module_invoke_all('field_update_field', $field, $prior_field, $has_data);
@@ -430,7 +430,7 @@ function field_delete_field($field_name) {
->execute();
// Clear the cache.
- field_cache_clear(TRUE);
+ field_cache_clear();
module_invoke_all('field_delete_field', $field);
}