getAuthorUri is a more appropriate function name

This commit is contained in:
Mikael Nordfeldth 2014-05-26 14:14:54 +02:00
parent fac102a50a
commit 8c348c96e7
1 changed files with 2 additions and 2 deletions

View 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);