Fix missing variable in Worker\Directory

- Remove fixed comment in PortableContact
This commit is contained in:
Hypolite Petovan 2017-12-17 16:25:32 -05:00
parent b8e41906a4
commit 872190dcb0
2 changed files with 1 additions and 3 deletions

View File

@ -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;
}

View File

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