(dev/core#174) CRM_Utils_Cache_Interface::delete() - Return bool like PSR-16
authorTim Otten <totten@civicrm.org>
Tue, 19 Jun 2018 23:18:48 +0000 (16:18 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 27 Jun 2018 21:29:52 +0000 (14:29 -0700)
commiteec321a42d890da1ed1005f02a418258ba41cecf
treee279537adf9547ae7d445c10436dc4114104f86e
parent124e528803354a61daf3f280ab282c4391e9e9bb
(dev/core#174) CRM_Utils_Cache_Interface::delete() - Return bool like PSR-16

The function signature for `delete()` did not specify a return value, and
actual behaviors varied depending on the driver (`bool` for memcache,
`int` for redis, and `void` for others).

This standardizes on returning a bool -- which makes the signature align
with PSR-16's `delete()`.
CRM/Utils/Cache/ArrayCache.php
CRM/Utils/Cache/Interface.php
CRM/Utils/Cache/Memcache.php
CRM/Utils/Cache/Redis.php
CRM/Utils/Cache/SerializeCache.php
CRM/Utils/Cache/SqlGroup.php