You are here

function acquia_lift_update_7204 in Acquia Lift Connector 7.2

Clears the cache of personalize plugins in ctools.

File

./acquia_lift.install, line 889
Acquia Lift - Installation file.

Code

function acquia_lift_update_7204() {

  // Clear the ctools plugin "agent_type" cache for personalize, clear loaded
  // files cache, and rebuild the autoloader class definitions.
  cache_clear_all('plugins:personalize:agent_type', 'cache', TRUE);
  cache_clear_all('ctools_plugin_files:personalize:agent_type', 'cache', TRUE);
  registry_rebuild();
}