From 9976308cc9e86df42b91e658c1dcb2f95a838c16 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 26 Feb 2020 08:49:27 +0100 Subject: [PATCH] Remove unecessary constraint on database name --- lib/private/Setup/AbstractDatabase.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/private/Setup/AbstractDatabase.php b/lib/private/Setup/AbstractDatabase.php index 0cbfecf284c5..a821a2e6f4b0 100644 --- a/lib/private/Setup/AbstractDatabase.php +++ b/lib/private/Setup/AbstractDatabase.php @@ -72,9 +72,6 @@ public function validate($config) { } elseif (empty($config['dbname'])) { $errors[] = $this->trans->t("%s enter the database name.", [$this->dbprettyname]); } - if (\substr_count($config['dbname'], '.') >= 1) { - $errors[] = $this->trans->t("%s you may not use dots in the database name", [$this->dbprettyname]); - } return $errors; }