(bug 44024) ObjectCache changes break XCache 3.x support
authorBrent Garber <overlordq@gmail.com>
Sat, 19 Jan 2013 03:43:03 +0000 (03:43 +0000)
committerBrent Garber <overlordq@gmail.com>
Sat, 19 Jan 2013 03:43:03 +0000 (03:43 +0000)
commit0072e0efeb8591a7761b3d573f8b71ef97fb96ec
treecb02336f9ff14ec7c17119e0fb8d7f7659530123
parent297a110e6d32c6540aaa1317d69f9bc903a50d08
(bug 44024) ObjectCache changes break XCache 3.x support

Changes in the 1.20.x branch altered the add method to check for the return value of get against
false.  Xcache 3.x returns NULL for unset values and so this check was erroneously determining that
all values are set when they were not.

This was causing basic ObjectCache usage to fail.

Change-Id: I0975e5c6a60c2813dc2d02aca84245807b8fb828
includes/objectcache/XCacheBagOStuff.php