X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNonce.php;h=93191bd409109d362e19672fb977af7390f0ec77;hb=a76f0676317058a8c1e2fd14ac04c7cabcbed6a7;hp=486a65a3c7e2aa6d78bc8478f579b27e8d80ab93;hpb=420c3613049bec1360cdeb1f50283b239adf23d3;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'); + } }