Switched to static methods for DFRN
This commit is contained in:
parent
77c6020dc2
commit
62de6be495
7 changed files with 934 additions and 931 deletions
|
|
@ -132,8 +132,8 @@ function terminate_friendship($user,$self,$contact) {
|
|||
diaspora_unshare($user,$contact);
|
||||
}
|
||||
elseif($contact['network'] === NETWORK_DFRN) {
|
||||
require_once('include/items.php');
|
||||
dfrn_deliver($user,$contact,'placeholder', 1);
|
||||
require_once('include/dfrn.php');
|
||||
dfrn::deliver($user,$contact,'placeholder', 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue