(dev/core#174) CRM_Utils_Cache_Interface::clear() is an alias for flush()
authorTim Otten <totten@civicrm.org>
Tue, 19 Jun 2018 23:22:28 +0000 (16:22 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 27 Jun 2018 21:29:52 +0000 (14:29 -0700)
commitc31de8791dff36708375550ccc0f6ebf211e5fdd
tree9264d66a32a7156f919ecc8583e50001754f32de
parenteec321a42d890da1ed1005f02a418258ba41cecf
(dev/core#174) CRM_Utils_Cache_Interface::clear() is an alias for flush()

flush() is specified by Civi's traditional interface, and clear() is
specified by PSR-16. The semantics should be the same (i.e. remove
any records managed by this cache-object).

This treats flush() and clear() as aliases.
CRM/Utils/Cache/APCcache.php
CRM/Utils/Cache/ArrayCache.php
CRM/Utils/Cache/Interface.php
CRM/Utils/Cache/Memcache.php
CRM/Utils/Cache/Memcached.php
CRM/Utils/Cache/NoCache.php
CRM/Utils/Cache/Redis.php
CRM/Utils/Cache/SerializeCache.php
CRM/Utils/Cache/SqlGroup.php