From: Hypolite Petovan Date: Sun, 17 Dec 2017 21:25:32 +0000 (-0500) Subject: Fix missing variable in Worker\Directory X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=872190dcb066914833608bd7e5858f570c4bc613;p=friendica.git Fix missing variable in Worker\Directory - Remove fixed comment in PortableContact --- diff --git a/src/Protocol/PortableContact.php b/src/Protocol/PortableContact.php index ccae5520b3..04b16a72db 100644 --- a/src/Protocol/PortableContact.php +++ b/src/Protocol/PortableContact.php @@ -816,7 +816,6 @@ class PortableContact return false; } - /// @fixme $element is unavailable here $server["site_name"] = $xpath->evaluate("//head/title/text()")->item(0)->nodeValue; return $server; } diff --git a/src/Worker/Directory.php b/src/Worker/Directory.php index 42ae1fd997..8dafbfaaa5 100644 --- a/src/Worker/Directory.php +++ b/src/Worker/Directory.php @@ -25,8 +25,7 @@ class Directory { $dir .= "/submit"; - /// @fixme $argv is unavailable here - $arr = array('url' => $argv[1]); + $arr = array('url' => $url); call_hooks('globaldir_update', $arr);