From 872190dcb066914833608bd7e5858f570c4bc613 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 17 Dec 2017 16:25:32 -0500 Subject: [PATCH] Fix missing variable in Worker\Directory - Remove fixed comment in PortableContact --- src/Protocol/PortableContact.php | 1 - src/Worker/Directory.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.5