Skip to content

Commit

Permalink
Merge pull request #12323 from totten/master-flush-sig
Browse files Browse the repository at this point in the history
(NFC) dev/core#174 - CRM_Utils_System::flushCache - Remove dead code
  • Loading branch information
eileenmcnaughton authored Jun 17, 2018
2 parents 3a6d22e + d7d6c46 commit 369000f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CRM/Admin/Form/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion CRM/Admin/Form/LocationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion CRM/Admin/Form/PaymentProcessorType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion CRM/Group/Form/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion CRM/SMS/Form/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion CRM/Tag/Form/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 369000f

Please sign in to comment.