mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
Check if saving disabled domains works #1513
This commit is contained in:
parent
b3c10190cb
commit
6df5802f97
1 changed files with 2 additions and 1 deletions
|
|
@ -171,8 +171,9 @@ class DefaultDomain implements DomainInterface
|
||||||
$aResult = \array_filter($aResult, fn($v) => $v !== $sName);
|
$aResult = \array_filter($aResult, fn($v) => $v !== $sName);
|
||||||
}
|
}
|
||||||
\RainLoop\Utils::saveFile($this->sDomainPath.'/disabled', \implode("\n", \array_unique($aResult)));
|
\RainLoop\Utils::saveFile($this->sDomainPath.'/disabled', \implode("\n", \array_unique($aResult)));
|
||||||
|
return $this->getDisabled() === $aResult;
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Delete(string $sName) : bool
|
public function Delete(string $sName) : bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue