mirror of
https://github.com/friendica/friendica
synced 2025-01-05 18:04:43 +00:00
Don't query the OWA data if already set
This commit is contained in:
parent
26f8392754
commit
f4791649dd
1 changed files with 4 additions and 0 deletions
|
@ -2611,6 +2611,10 @@ class GServer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($data['openwebauth'] == $gserver['openwebauth']) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$serverdata = self::getZotData($gserver['url'], []);
|
$serverdata = self::getZotData($gserver['url'], []);
|
||||||
if (empty($serverdata)) {
|
if (empty($serverdata)) {
|
||||||
$serverdata = ['openwebauth' => $data['openwebauth']];
|
$serverdata = ['openwebauth' => $data['openwebauth']];
|
||||||
|
|
Loading…
Reference in a new issue