X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=classes%2FNonce.php;h=2f8ab00b5dc097886687a8e2413bd59df689c59d;hb=43cc24a0ccd89081effa26361e861ba26a9cd842;hp=486a65a3c7e2aa6d78bc8478f579b27e8d80ab93;hpb=1179ecd13d68e76d74ad94e2d3ca22d9681eeffe;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'); + } + }