$prevNext = CRM_Utils_Array::value('prevNext', $params, TRUE);
$dbCache = CRM_Utils_Array::value('dbCache', $params, FALSE);
$memCache = CRM_Utils_Array::value('memCache', $params, FALSE);
- $tplCache = CRM_Utils_Array::value('tplCache' , $params, FALSE );
- $wordRplc = CRM_Utils_Array::value('wordRplc' , $params, FALSE );
+ $tplCache = CRM_Utils_Array::value('tplCache', $params, FALSE);
+ $wordRplc = CRM_Utils_Array::value('wordRplc', $params, FALSE);
if ($session || $tempTable || $prevNext) {
CRM_Core_BAO_Cache::cleanup($session, $tempTable, $prevNext);
CRM_Core_BAO_Job::cleanup();
}
- if ( $tplCache ) {
+ if ($tplCache) {
$config = CRM_Core_Config::singleton();
$config->cleanup(1, FALSE);
}
CRM_Utils_System::flushCache();
}
- if ( $wordRplc ) {
+ if ($wordRplc) {
CRM_Core_BAO_WordReplacement::rebuild();
}
}