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);