]> git.mxchange.org Git - friendica.git/commitdiff
Fix missing variable in Worker\Directory
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 21:25:32 +0000 (16:25 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 21:25:32 +0000 (16:25 -0500)
- Remove fixed comment in PortableContact

src/Protocol/PortableContact.php
src/Worker/Directory.php

index ccae5520b351f6074411609884194dac1d26628d..04b16a72db6b341adcbdfedba96726e6af120212 100644 (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;
        }
index 42ae1fd99750a06b083dd988efe4e3e54c857d65..8dafbfaaa5efd0ff10738d4c16176dd4c563b9ff 100644 (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);