From: Michael Vogel Date: Tue, 25 Aug 2015 03:31:21 +0000 (+0200) Subject: Don't show the alternate url syntax in searches X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5c084b754a765eeb30c95e8a215261b5f9e2fb2c;p=friendica.git Don't show the alternate url syntax in searches --- diff --git a/include/socgraph.php b/include/socgraph.php index 9689d83fba..0f8afcf56d 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -207,7 +207,7 @@ function poco_check($profile_url, $name, $network, $profile_photo, $about, $loca ); if(count($r)) { $network = $r[0]["network"]; - $profile_url = $r[0]["url"]; + //$profile_url = $r[0]["url"]; } } @@ -729,7 +729,7 @@ function poco_check_server($server_url, $network = "", $force = false) { $last_contact = "0000-00-00 00:00:00"; $last_failure = "0000-00-00 00:00:00"; } - logger("Server ".$server_url." is unknown. Start discovery.", LOGGER_DEBUG); + logger("Server ".$server_url." is outdated or unknown. Start discovery. Force: ".$force." Created: ".$servers[0]["created"]." Failure: ".$last_failure." Contact: ".$last_contact, LOGGER_DEBUG); $failure = false; $orig_last_failure = $last_failure; diff --git a/mod/dirfind.php b/mod/dirfind.php index 3cee6c1330..2295b3772f 100644 --- a/mod/dirfind.php +++ b/mod/dirfind.php @@ -1,9 +1,9 @@ page,'aside')) $a->page['aside'] = ''; @@ -76,6 +76,9 @@ function dirfind_content(&$a, $prefix = "") { $j->items_page = $perpage; $j->page = $a->pager['page']; foreach ($results AS $result) { + if (poco_alternate_ostatus_url($result["url"])) + continue; + if ($result["name"] == "") { $urlparts = parse_url($result["url"]); $result["name"] = end(explode("/", $urlparts["path"]));