]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Nonce.php
Merge activity plugin into mainline
[quix0rs-gnu-social.git] / classes / Nonce.php
index 486a65a3c7e2aa6d78bc8478f579b27e8d80ab93..93191bd409109d362e19672fb977af7390f0ec77 100644 (file)
@@ -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');
+    }
 }