Merge pull request #2607 from nextcloud/enh/noid/enable-imaginary

enable imaginary by default
This commit is contained in:
Simon L
2023-05-30 11:32:56 +02:00
committed by GitHub

View File

@@ -157,10 +157,10 @@ class ConfigurationManager
public function isImaginaryEnabled() : bool {
$config = $this->GetConfig();
if (isset($config['isImaginaryEnabled']) && $config['isImaginaryEnabled'] === 1) {
return true;
} else {
if (isset($config['isImaginaryEnabled']) && $config['isImaginaryEnabled'] === 0) {
return false;
} else {
return true;
}
}