Some more function calls changed to the new class

This commit is contained in:
Michael Vogel 2016-03-14 08:11:14 +01:00 committed by Roland Haeder
parent 77dbb4bfbc
commit 3e79a19e57
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
7 changed files with 19 additions and 13 deletions

View file

@ -129,7 +129,7 @@ function terminate_friendship($user,$self,$contact) {
}
elseif($contact['network'] === NETWORK_DIASPORA) {
require_once('include/diaspora.php');
diaspora_unshare($user,$contact);
diaspora::send_unshare($user,$contact);
}
elseif($contact['network'] === NETWORK_DFRN) {
require_once('include/dfrn.php');