mirror of
https://github.com/friendica/friendica
synced 2025-04-26 04:30:11 +00:00
Notices what else? (#5545)
* Poco isn't filled, so we cannot store it * We should initialize our variables
This commit is contained in:
parent
c72c64a6d8
commit
65d752d03c
4 changed files with 8 additions and 13 deletions
|
@ -925,7 +925,6 @@ class Probe
|
|||
|| !isset($data["confirm"])
|
||||
|| !isset($data["request"])
|
||||
|| !isset($data["poll"])
|
||||
|| !isset($data["poco"])
|
||||
|| !isset($data["name"])
|
||||
|| !isset($data["photo"])
|
||||
) {
|
||||
|
@ -939,16 +938,10 @@ class Probe
|
|||
$prof_data["dfrn-confirm"] = $data["confirm"];
|
||||
$prof_data["dfrn-notify"] = $data["notify"];
|
||||
$prof_data["dfrn-poll"] = $data["poll"];
|
||||
$prof_data["dfrn-poco"] = $data["poco"];
|
||||
$prof_data["photo"] = $data["photo"];
|
||||
$prof_data["fn"] = $data["name"];
|
||||
$prof_data["key"] = $data["pubkey"];
|
||||
|
||||
// This logging is for temporarily debugging reasons
|
||||
if (!isset($data["poco"])) {
|
||||
logger('POCO not defined for ' . $profile_link . ' - ' . System::callstack(), LOGGER_DEBUG);
|
||||
}
|
||||
|
||||
logger("Result for profile ".$profile_link.": ".print_r($prof_data, true), LOGGER_DEBUG);
|
||||
|
||||
return $prof_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue