]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
getAuthorUri is a more appropriate function name
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 26 May 2014 12:14:54 +0000 (14:14 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 26 May 2014 12:14:54 +0000 (14:14 +0200)
plugins/OStatus/lib/magicenvelope.php

index c6fbc0f3411376a9acafecfa280ba3ebf9a41c7f..e7fe88c88f71780d0087a34d591a5a23312c99b4 100644 (file)
@@ -200,7 +200,7 @@ class MagicEnvelope
      *
      * @fixme XML parsing failures will spew to error logs/output
      */
-    public function getAuthor($text) {
+    public function getAuthorUri($text) {
         $doc = new DOMDocument();
         if (!$doc->loadXML($text)) {
             return FALSE;
@@ -241,7 +241,7 @@ class MagicEnvelope
         }
 
         $text = Magicsig::base64_url_decode($env['data']);
-        $signer_uri = $this->getAuthor($text);
+        $signer_uri = $this->getAuthorUri($text);
 
         try {
             $magicsig = $this->getKeyPair($signer_uri);