diff options
Diffstat (limited to 'public/install.php')
| -rw-r--r-- | public/install.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/public/install.php b/public/install.php index 46605fe6b..7b485e500 100644 --- a/public/install.php +++ b/public/install.php @@ -327,10 +327,6 @@ function checkBD () { $sql = sprintf (SQL_REQ_CREATE_DB, $_SESSION['bd_name']); $res = $c->query ($sql); - if (!$res) { - throw new PDOException(); - } - // on écrase la précédente connexion en sélectionnant la nouvelle BDD $str = 'mysql:host=' . $_SESSION['bd_host'] . ';dbname=' . $_SESSION['bd_name']; } elseif($_SESSION['bd_type'] == 'sqlite') { |
