diff options
author | Brion Vibber <brion@status.net> | 2010-01-06 13:23:39 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-01-06 13:35:13 -0800 |
commit | 85554d0840642f4c1b47b50202dd648db565781c (patch) | |
tree | 6433ac0e202ab2416f12c789f99360856e7f9076 /scripts | |
parent | 6f5b765c97c8616e4a79719bfe835cb03dc0a236 (diff) |
Rearrange Memcached_DataObject::staticGet() to avoid "only variables can be passed by reference" warnings when DB lookup fails and we return false.
(We need to keep it returning a reference because the extlib parent class is stuck in PHP 4-land and uses references everywhere, including this function's return value. Yuck!)
Also changed pkeyGet to drop the reference, since it doesn't have an upstream equivalent.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions