[REF] Add in cleanup function to prevnext service and utilise in cleanup cache situation
authorSeamus Lee <seamuslee001@gmail.com>
Mon, 29 Jul 2019 21:55:34 +0000 (07:55 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 30 Jul 2019 01:10:06 +0000 (11:10 +1000)
commit435fc552134692f8b205a2f6b5d4b0f1a34391db
tree04a595675b57334276b8f3a8807b6fcac1b31861
parent4f86ebd7426fca4f98c750b49907bd75b57b7e45
[REF] Add in cleanup function to prevnext service and utilise in cleanup cache situation

Set TTL on prevNextSQL Cache to be 2 days so cleanup code works as previously

Switch to using a class constant for the number of cache days
CRM/Campaign/Selector/Search.php
CRM/Contact/Selector.php
CRM/Core/BAO/PrevNextCache.php
CRM/Core/PrevNextCache/Interface.php
CRM/Core/PrevNextCache/Redis.php
CRM/Core/PrevNextCache/Sql.php