]> git.mxchange.org Git - friendica.git/blobdiff - mod/salmon.php
Split the name in the hcard
[friendica.git] / mod / salmon.php
index 919204a48b2f65fbb4348c0842c480958d42c0fc..4d8b130f94cca342700f343a58299b8a7b8651b8 100644 (file)
@@ -6,8 +6,8 @@ use Friendica\App;
 use Friendica\Core\PConfig;
 use Friendica\Database\DBM;
 use Friendica\Protocol\OStatus;
+use Friendica\Protocol\Salmon;
 
-require_once 'include/salmon.php';
 require_once 'include/crypto.php';
 require_once 'include/items.php';
 require_once 'include/follow.php';
@@ -103,7 +103,7 @@ function salmon_post(App $a) {
 
        logger('mod-salmon: Fetching key for ' . $author_link);
 
-       $key = get_salmon_key($author_link,$keyhash);
+       $key = Salmon::getKey($author_link, $keyhash);
 
        if(! $key) {
                logger('mod-salmon: Could not retrieve author key.');