Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.0, 4.5, 4.6
-
Fix Version/s: 4.7
-
Component/s: CiviCRM API
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
The scheduled job Job.cleanup differs from the the 'cleanup caches' button, compare e.g. https://github.com/civicrm/civicrm-core/blob/4.6.5/api/v3/Job.php#L564 with https://github.com/civicrm/civicrm-core/blob/4.6.5/CRM/Admin/Form/Setting/UpdateConfigBackend.php#L111
I suggest to extend Job.cleanup. In particular, we'd like to be able to periodically clear the smarty template cache.