Add FIXME for unrecoverable missing variables

This commit is contained in:
Hypolite Petovan 2017-12-17 15:35:38 -05:00
parent a6a2c578f9
commit 5926cd534a
4 changed files with 4 additions and 0 deletions

View 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);
}
}

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

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

View file

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