Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NFC) dev/core#174 - CRM_Utils_System::flushCache - Remove dead code #12323

Merged
merged 1 commit into from
Jun 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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