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
|
|
@ -12,9 +12,9 @@ use Friendica\Object\Contact;
|
|||
use Friendica\Protocol\Diaspora;
|
||||
use Friendica\Protocol\OStatus;
|
||||
use Friendica\Protocol\PortableContact;
|
||||
use Friendica\Protocol\Salmon;
|
||||
|
||||
require_once 'include/group.php';
|
||||
require_once 'include/salmon.php';
|
||||
|
||||
function update_contact($id) {
|
||||
/*
|
||||
|
|
@ -268,7 +268,7 @@ function new_contact($uid, $url, $interactive = false, $network = '') {
|
|||
$item['verb'] = ACTIVITY_FOLLOW;
|
||||
$item['follow'] = $contact["url"];
|
||||
$slap = OStatus::salmon($item, $r[0]);
|
||||
slapper($r[0], $contact['notify'], $slap);
|
||||
Salmon::slapper($r[0], $contact['notify'], $slap);
|
||||
}
|
||||
|
||||
if ($contact['network'] == NETWORK_DIASPORA) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue