(dev/core#177) Redis::get() should return NULL for undefined cache keys
authorTim Otten <totten@civicrm.org>
Fri, 30 Mar 2018 01:14:48 +0000 (18:14 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 12 Jun 2018 03:04:23 +0000 (20:04 -0700)
commit4841e04d858b7f87a0156cac3428fc3c32fb9f2b
tree0cc7f430fd5fb4ffc42973081b1e44244a4570dc
parent830f1c7bd44efd16eac29468a230a5d2db5f6583
(dev/core#177) Redis::get() should return NULL for undefined cache keys

The docs for  `CRM_Utils_Cache_Interface::get()` specify that the return value should be NULL
if the key does not exist.

However, `CRM_Utils_Cache_Redis::get()` was returning FALSE in that circumstance
(because `unserialize(FALSE)===FALSE`). This fixes it comply.
CRM/Utils/Cache/Redis.php