]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_notify.php
Change called method names
[friendica.git] / mod / dfrn_notify.php
index 74f6d4e9f4164b2944cfaa3c2417051944024e31..8ad599c9d415b91499d6fae3dd4f3582595140cf 100644 (file)
@@ -128,13 +128,9 @@ function dfrn_notify_post(App $a) {
        logger('dfrn_notify: data: ' . $data, LOGGER_DATA);
 
        if ($dissolve == 1) {
-
-               /*
-                * Relationship is dissolved permanently
-                */
-
                require_once('include/Contact.php');
-               contact_remove($importer['id']);
+               // Relationship is dissolved permanently
+               Contact::remove($importer['id']);
                logger('relationship dissolved : ' . $importer['name'] . ' dissolved ' . $importer['username']);
                xml_status(0, 'relationship dissolved');
        }