Skip to content

Commit 0b64967

Browse files
authored
Merge pull request #7118 from nextcloud/enh/noid/disable-whiteboard
change whiteboard to be disabled by default
2 parents eb31220 + 0320569 commit 0b64967

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

php/src/Data/ConfigurationManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ public function SetDockerSocketProxyEnabledState(int $value) : void {
164164

165165
public function isWhiteboardEnabled() : bool {
166166
$config = $this->GetConfig();
167-
if (isset($config['isWhiteboardEnabled']) && $config['isWhiteboardEnabled'] === 0) {
168-
return false;
169-
} else {
167+
if (isset($config['isWhiteboardEnabled']) && $config['isWhiteboardEnabled'] === 1) {
170168
return true;
169+
} else {
170+
return false;
171171
}
172172
}
173173

0 commit comments

Comments
 (0)