check server functionality before status

This commit is contained in:
Andras Bacsai
2024-11-02 18:33:23 +01:00
parent c2e076be54
commit 2eab9296cf

View File

@@ -976,10 +976,10 @@ $schema://$host {
public function serverStatus(): bool
{
if ($this->status() === false) {
if ($this->isFunctional() === false) {
return false;
}
if ($this->isFunctional() === false) {
if ($this->status() === false) {
return false;
}