1
0
Fork 0

Move salmonKey to Salmon class

move the salmonKey function from Crypto to Salmon
This commit is contained in:
Adam Magness 2017-12-31 08:04:36 -05:00
commit db653e4451
4 changed files with 16 additions and 15 deletions

View file

@ -5,6 +5,7 @@
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\System;
use Friendica\Protocol\Salmon;
use Friendica\Util\Crypto;
function hostxrd_init(App $a)
@ -25,7 +26,7 @@ function hostxrd_init(App $a)
'$zhost' => $a->get_hostname(),
'$zroot' => System::baseUrl(),
'$domain' => System::baseUrl(),
'$bigkey' => Crypto::salmonKey(Config::get('system', 'site_pubkey')))
'$bigkey' => Salmon::salmonKey(Config::get('system', 'site_pubkey')))
);
exit();