Internal: Avoid deprecated methods o drop/create database

pull/4699/head
Angel Fernando Quiroz Campos 2 years ago
parent 9e27d8b523
commit fb1efc13f2
  1. 4
      public/main/install/index.php

@ -516,7 +516,9 @@ if (isset($_POST['step2'])) {
// Drop and create the database anyways
error_log("Drop database $dbNameForm");
$manager->getConnection()->getSchemaManager()->dropAndCreateDatabase($dbNameForm);
$schemaManager = $manager->getConnection()->createSchemaManager();
$schemaManager->dropDatabase($dbNameForm);
$schemaManager->createDatabase($dbNameForm);
error_log("Connect to database $dbNameForm with user $dbUsernameForm");
$database = connectToDatabase(

Loading…
Cancel
Save