You are here

public function CampaignMonitor::clearCache in Campaign Monitor 7

Clears all the caches used by this wrapper object.

1 call to CampaignMonitor::clearCache()
CampaignMonitor::createList in lib/campaignmonitor.class.inc
Create a new list at the Campaign Monitor servers.

File

lib/campaignmonitor.class.inc, line 1007
Implementation of the CampaignMonitor class.

Class

CampaignMonitor
Implementation of the CampaignMonitor class.

Code

public function clearCache() {
  cache_clear_all('campaignmonitor_lists', 'cache');
  cache_clear_all('campaignmonitor_list_stats', 'cache');
  cache_clear_all('campaignmonitor_campaigns', 'cache');
  cache_clear_all('campaignmonitor_subscribers', 'cache');
}