X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNonce.php;h=93191bd409109d362e19672fb977af7390f0ec77;hb=8884a5255fb90fda67b63fa0d4252d77176337e5;hp=486a65a3c7e2aa6d78bc8478f579b27e8d80ab93;hpb=d014d43c6860e3aaf46a5afba0ea3dffd54f630d;p=quix0rs-gnu-social.git diff --git a/classes/Nonce.php b/classes/Nonce.php index 486a65a3c7..93191bd409 100644 --- a/classes/Nonce.php +++ b/classes/Nonce.php @@ -22,4 +22,18 @@ class Nonce extends Memcached_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE + + /** + * Compatibility hack for PHP 5.3 + * + * The statusnet.links.ini entry cannot be read because "," is no longer + * allowed in key names when read by parse_ini_file(). + * + * @return array + * @access public + */ + function links() + { + return array('consumer_key,token' => 'token:consumer_key,token'); + } }