Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2021-11-26 14:24:35 +0300
committerGitHub <noreply@github.com>2021-11-26 14:24:35 +0300
commit80c581a1fe66fc5106fc6bd794c17752a7d51890 (patch)
treec1ac7ee490939df4a9c6f374fd7560b4346fbaca
parentb9c5d2992019e78d7c3d37c1ec2af64f138b7af4 (diff)
parent2ff5adfa24701386a8b6391030842a293c3be6bd (diff)
Merge pull request #6622 from nextcloud/backport/6613/stable23
[stable23] Implement tests on command create room
-rw-r--r--lib/Command/Room/Create.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Command/Room/Create.php b/lib/Command/Room/Create.php
index 4b5208e2e..13e2f0eee 100644
--- a/lib/Command/Room/Create.php
+++ b/lib/Command/Room/Create.php
@@ -105,11 +105,6 @@ class Create extends Base {
$owner = $input->getOption('owner');
$moderators = $input->getOption('moderator');
- if (!in_array($readOnly, [null, (string)Room::READ_WRITE, (string)Room::READ_ONLY], true)) {
- $output->writeln('<error>Invalid value for option "--readonly" given.</error>');
- return 1;
- }
-
if (!in_array($listable, [
null,
(string)Room::LISTABLE_NONE,