]> git.mxchange.org Git - friendica.git/blobdiff - include/follow.php
Merge pull request #3031 from Hypolite/bug/fix-diaspora-people-links
[friendica.git] / include / follow.php
index 7a3514b3a73aa4942ca00f009cc6128361782461..f74655a9d287e4cf1dff5ebda52fed591398119e 100644 (file)
@@ -289,8 +289,9 @@ function new_contact($uid,$url,$interactive = false) {
                        $slap = ostatus::salmon($item, $r[0]);
                        slapper($r[0], $contact['notify'], $slap);
                }
+
                if ($contact['network'] == NETWORK_DIASPORA) {
-                       $ret = diaspora::send_share($a->user,$contact);
+                       $ret = Diaspora::send_share($a->user,$contact);
                        logger('share returns: '.$ret);
                }
        }