]> git.mxchange.org Git - quix0rs-gnu-social.git/commit - classes/Memcached_DataObject.php
staticGet is a static function
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Aug 2013 17:08:11 +0000 (19:08 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 12 Aug 2013 17:08:11 +0000 (19:08 +0200)
commit3394efca60aac18238efb4589c066d839086057d
tree425136924e999ee613f334c035d3b1d0eb022653
parent0cb5b6fba7c86b72eb73b5718f025ef2481fa899
staticGet is a static function

We always call staticGet statically, so we define it statically. Next
step is to remove a bunch of definitions of 'staticGet' from classes
that can instead fall back to a parent class in Managed_DataObject.

The ampersand is removed as we're returning a class anyway, which does
not need a reference (and when we return false, it means nothing).
classes/Memcached_DataObject.php