]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
Merge remote-tracking branch 'upstream/develop' into 1608-performance
[friendica.git] / mod / profiles.php
index 9cd1ed8a02c1fd627a2dfc34a78db1f289938cbe..c3bd068b0b57478da70f774fd89d22ddcea5e135 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 require_once("include/Contact.php");
+require_once('include/Probe.php');
 
 function profiles_init(&$a) {
 
@@ -251,7 +252,7 @@ function profiles_post(&$a) {
                                $lookup = str_replace('_',' ', $lookup);
                                if(strpos($lookup,'@') || (strpos($lookup,'http://'))) {
                                        $newname = $lookup;
-                                       $links = @lrdd($lookup);
+                                       $links = @Probe::lrdd($lookup);
                                        if(count($links)) {
                                                foreach($links as $link) {
                                                        if($link['@attributes']['rel'] === 'http://webfinger.net/rel/profile-page') {