diff --git a/CRM/Admin/Form/Job.php b/CRM/Admin/Form/Job.php index 74776dd0d41e..e319f498ca67 100644 --- a/CRM/Admin/Form/Job.php +++ b/CRM/Admin/Form/Job.php @@ -180,7 +180,7 @@ public function setDefaultValues() { */ public function postProcess() { - CRM_Utils_System::flushCache('CRM_Core_DAO_Job'); + CRM_Utils_System::flushCache(); if ($this->_action & CRM_Core_Action::DELETE) { CRM_Core_BAO_Job::del($this->_id); diff --git a/CRM/Admin/Form/LocationType.php b/CRM/Admin/Form/LocationType.php index 7979db2dabd2..b1e1a9776360 100644 --- a/CRM/Admin/Form/LocationType.php +++ b/CRM/Admin/Form/LocationType.php @@ -86,7 +86,7 @@ public function buildQuickForm() { * Process the form submission. */ public function postProcess() { - CRM_Utils_System::flushCache('CRM_Core_DAO_LocationType'); + CRM_Utils_System::flushCache(); if ($this->_action & CRM_Core_Action::DELETE) { CRM_Core_BAO_LocationType::del($this->_id); diff --git a/CRM/Admin/Form/PaymentProcessorType.php b/CRM/Admin/Form/PaymentProcessorType.php index f81617056744..6dfdaf7647cd 100644 --- a/CRM/Admin/Form/PaymentProcessorType.php +++ b/CRM/Admin/Form/PaymentProcessorType.php @@ -203,7 +203,7 @@ public function setDefaultValues() { * Process the form submission. */ public function postProcess() { - CRM_Utils_System::flushCache('CRM_Financial_DAO_PaymentProcessorType'); + CRM_Utils_System::flushCache(); if ($this->_action & CRM_Core_Action::DELETE) { CRM_Financial_BAO_PaymentProcessorType::del($this->_id); diff --git a/CRM/Group/Form/Edit.php b/CRM/Group/Form/Edit.php index bdf5333c5728..810ca19d1b80 100644 --- a/CRM/Group/Form/Edit.php +++ b/CRM/Group/Form/Edit.php @@ -364,7 +364,7 @@ public static function formRule($fields, $fileParams, $options) { * Process the form when submitted. */ public function postProcess() { - CRM_Utils_System::flushCache('CRM_Core_DAO_Group'); + CRM_Utils_System::flushCache(); $updateNestingCache = FALSE; if ($this->_action & CRM_Core_Action::DELETE) { diff --git a/CRM/SMS/Form/Provider.php b/CRM/SMS/Form/Provider.php index c5496c2b5710..f6aace804029 100644 --- a/CRM/SMS/Form/Provider.php +++ b/CRM/SMS/Form/Provider.php @@ -159,7 +159,7 @@ public function setDefaultValues() { */ public function postProcess() { - CRM_Utils_System::flushCache('CRM_SMS_DAO_Provider'); + CRM_Utils_System::flushCache(); if ($this->_action & CRM_Core_Action::DELETE) { CRM_SMS_BAO_Provider::del($this->_id); diff --git a/CRM/Tag/Form/Tag.php b/CRM/Tag/Form/Tag.php index ed75c7017c33..765c71eb7747 100644 --- a/CRM/Tag/Form/Tag.php +++ b/CRM/Tag/Form/Tag.php @@ -113,7 +113,7 @@ public function buildQuickForm() { * @return void */ public function postProcess() { - CRM_Utils_System::flushCache('CRM_Core_DAO_Tag'); + CRM_Utils_System::flushCache(); // array contains the posted values // exportvalues is not used because its give value 1 of the checkbox which were checked by default,