X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNonce.php;h=2f8ab00b5dc097886687a8e2413bd59df689c59d;hb=4d29ca0b91201f6df42940297ed5b64b070efe49;hp=486a65a3c7e2aa6d78bc8478f579b27e8d80ab93;hpb=d014d43c6860e3aaf46a5afba0ea3dffd54f630d;p=quix0rs-gnu-social.git diff --git a/classes/Nonce.php b/classes/Nonce.php index 486a65a3c7..2f8ab00b5d 100644 --- a/classes/Nonce.php +++ b/classes/Nonce.php @@ -22,4 +22,19 @@ 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'); + } + }