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
commit bbcdb5172c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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