Switched to static methods for DFRN

This commit is contained in:
Michael Vogel 2016-01-25 15:20:58 +01:00
commit 62de6be495
7 changed files with 934 additions and 931 deletions

View file

@ -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);
}
}