(dev/core#635) Only write extra prevnext cache record if used
authorTim Otten <totten@civicrm.org>
Fri, 4 Jan 2019 03:31:04 +0000 (19:31 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 4 Jan 2019 03:31:04 +0000 (19:31 -0800)
commite37c68e1f41946f2e038a756dc7959ae4efdbd72
tree94c2cf064ba166f2d3c38b86fa19e782ea4aa5fe
parent45b25a1bd527e5614ce1096b6dc5a090a95e30a9
(dev/core#635) Only write extra prevnext cache record if used

This line of code creates an extra record to facilitate clearing the
SQL-based prevnext cache.  However, with Redis-based prevnext cache, it's
not needed because the Redis implementation simply uses a TTL -- and (on
Redis deployments) this lines to gratuitous SQL writes.
CRM/Campaign/Selector/Search.php
CRM/Contact/Selector.php