]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
checkAuthor not used anywhere
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 26 May 2014 12:13:35 +0000 (14:13 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 26 May 2014 12:13:35 +0000 (14:13 +0200)
plugins/OStatus/lib/magicenvelope.php

index 8fbca139a8613ba196e294062f546885a3f3dc12..c6fbc0f3411376a9acafecfa280ba3ebf9a41c7f 100644 (file)
@@ -217,19 +217,6 @@ class MagicEnvelope
         }
     }
 
-    /**
-     * Check if the author in the Atom entry fragment claims to match
-     * the given identifier URI.
-     *
-     * @param string $text string containing Atom entry XML
-     * @param string $signer_uri
-     * @return boolean
-     */
-    public function checkAuthor($text, $signer_uri)
-    {
-        return ($this->getAuthor($text) == $signer_uri);
-    }
-
     /**
      * Attempt to verify cryptographic signing for parsed envelope data.
      * Requires network access to retrieve public key referenced by the envelope signer.