]> git.mxchange.org Git - friendica.git/commitdiff
Add FIXME for unrecoverable missing variables
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 20:35:38 +0000 (15:35 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 17 Dec 2017 20:35:38 +0000 (15:35 -0500)
src/Protocol/Diaspora.php
src/Protocol/OStatus.php
src/Protocol/PortableContact.php
src/Worker/Directory.php

index a56b1fe87759de314ca3ca32199a9833b65ec9cd..466104c40429ba4f9be03de5c826216420db74a0 100644 (file)
@@ -4067,6 +4067,7 @@ class Diaspora
 
                foreach ($recips as $recip) {
                        logger("Send updated profile data for user ".$uid." to contact ".$recip["id"], LOGGER_DEBUG);
+                       /// @fixme $profile isn't available here
                        self::buildAndTransmit($profile, $recip, "profile", $message, false, "", true);
                }
        }
index cadc9a37ea59df4618090ca9de53c2c925b287ff..bf1deba772ca15fc412a96c115040b19c4eafd24 100644 (file)
@@ -1024,6 +1024,7 @@ class OStatus
                $orig_created = $xpath->query('atom:published/text()', $activityobjects)->item(0)->nodeValue;
                $orig_edited = $xpath->query('atom:updated/text()', $activityobjects)->item(0)->nodeValue;
 
+               /// @fixme $contact is unavailable here
                $orig_contact = $contact;
                $orig_author = self::fetchAuthor($xpath, $activityobjects, $importer, $orig_contact, false);
 
index 0fcf6f57436ef7e3f59511505e937d124c6607a4..e0213ca5c4cf18d587bbbe36cd932325bdb86e31 100644 (file)
@@ -816,6 +816,7 @@ class PortableContact
                        return false;
                }
 
+               /// @fixme $element is unavailable here
                $server["site_name"] = $xpath->evaluate($element."//head/title/text()")->item(0)->nodeValue;
                return $server;
        }
index 8e5383ac0c9b7e807ffe8fb82380fb9203de0eb8..42ae1fd99750a06b083dd988efe4e3e54c857d65 100644 (file)
@@ -25,6 +25,7 @@ class Directory {
 
                $dir .= "/submit";
 
+               /// @fixme $argv is unavailable here
                $arr = array('url' => $argv[1]);
 
                call_hooks('globaldir_update', $arr);