]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Avoid spewing warnings about returning by reference on memcached cache misses by...
authorBrion Vibber <brion@pobox.com>
Tue, 12 Jan 2010 20:20:45 +0000 (12:20 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 12 Jan 2010 20:20:45 +0000 (12:20 -0800)
commit4cc9b183d797cbd3d1f6230a46cb5df6e6161dbb
treebf548351348d1892fd219cb9ee8615d55f42e647
parent9c34d5c1073133992ef56ed02be3f53c5cefa379
Avoid spewing warnings about returning by reference on memcached cache misses by setting a var and returning it instead of trying to return false directly.
This hacky workaround is brought to you by DB_DataObject's PHP 4 roots.
classes/Memcached_DataObject.php