mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Salmon move to src
Salmon class, update function name and function calls. Some standards as well.
This commit is contained in:
parent
b5d24b5ac3
commit
2b121779a6
11 changed files with 250 additions and 230 deletions
|
@ -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.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue