]> git.mxchange.org Git - friendica.git/blobdiff - include/follow.php
Some more documentation
[friendica.git] / include / follow.php
index 3af629536d61216d61c4fcc897c53e6872539585..d0411a466af0411045ed9455f2c25019a67a3c00 100644 (file)
@@ -303,8 +303,8 @@ function new_contact($uid,$url,$interactive = false) {
                }
                if($contact['network'] == NETWORK_DIASPORA) {
                        require_once('include/diaspora.php');
-                       $ret = diaspora_share($a->user,$contact);
-                       logger('mod_follow: diaspora_share returns: ' . $ret);
+                       $ret = diaspora::send_share($a->user,$contact);
+                       logger('share returns: '.$ret);
                }
        }