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; return false;
} }
/// @fixme $element is unavailable here
$server["site_name"] = $xpath->evaluate("//head/title/text()")->item(0)->nodeValue; $server["site_name"] = $xpath->evaluate("//head/title/text()")->item(0)->nodeValue;
return $server; return $server;
} }

View file

@ -25,8 +25,7 @@ class Directory {
$dir .= "/submit"; $dir .= "/submit";
/// @fixme $argv is unavailable here $arr = array('url' => $url);
$arr = array('url' => $argv[1]);
call_hooks('globaldir_update', $arr); call_hooks('globaldir_update', $arr);