Avoid calling Cache::cleanKey() twice in quick succession
authorChris Burgess <chrisburgess@catalyst.net.nz>
Thu, 9 Aug 2018 21:23:04 +0000 (09:23 +1200)
committerChris Burgess <chrisburgess@catalyst.net.nz>
Fri, 10 Aug 2018 10:19:44 +0000 (22:19 +1200)
commit972b0e25b2e408b54c436db2a54c8023e76e7974
treeb27af19c5365b9bb40fb30dae7b0b611810912e4
parent816e59c48209a574e2476b4a0ef17963fc6b16bb
Avoid calling Cache::cleanKey() twice in quick succession

Since this method is performance related and called frequently,
no need to recalculate results from preg_replace_callback() with
the same inputs.
CRM/Core/BAO/Cache.php