cache api call object
This commit is contained in:
parent
36cfdd2a2d
commit
1d5c69f470
3 changed files with 14 additions and 1 deletions
|
@ -53,6 +53,11 @@ class CRM_TwingleCampaign_Form_Settings extends CRM_Core_Form {
|
|||
//TODO: validate Twingle API key
|
||||
|
||||
public function postProcess() {
|
||||
|
||||
// Delete api key from cache
|
||||
Civi::cache()->delete('twinglecampaign_twingle_api');
|
||||
|
||||
// Set configuration values
|
||||
Configuration::set($this->exportValues());
|
||||
parent::postProcess();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue