Merge pull request #14338 from annando/owa

Don't query the OWA data if already set
This commit is contained in:
Tobias Diekershoff 2024-08-04 17:00:50 +02:00 committed by GitHub
commit 470b98697d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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']];