Remove check innoDB

This commit is contained in:
Nicolas Le Goff
2015-02-05 19:03:49 +01:00
parent 5bf47e9c42
commit 56a95f724a
3 changed files with 0 additions and 12 deletions

View File

@@ -94,10 +94,6 @@ class Install extends Command
$abConn = $this->getABConn($input, $output, $dialog);
if (false === $abConn->supportInnoDB()){
throw new \Exception('Database server does not support InnoDB storage engine');
}
list($dbConn, $template) = $this->getDBConn($input, $output, $abConn, $dialog);
list($email, $password) = $this->getCredentials($input, $output, $dialog);
$dataPath = $this->getDataPath($input, $output, $dialog);

View File

@@ -170,10 +170,6 @@ class Databoxes implements ControllerProviderInterface
return $app->redirectPath('admin_databases', ['success' => 0, 'error' => 'database-failed']);
}
if (false === $connbas->supportInnoDB()){
return $app->redirectPath('admin_databases', array('success' => 0, 'error' => 'innodb-support'));
}
try {
$base = \databox::create($app, $connbas, $dataTemplate);
$base->registerAdmin($app['authentication']->getUser());

View File

@@ -625,10 +625,6 @@ class databox extends base
]);
$conn->connect();
if (false === $connection->supportInnoDB()) {
throw new \Exception('Database server does not support InnoDB storage engine');
}
$conn = $app['phraseanet.appbox']->get_connection();
$sql = 'SELECT MAX(ord) as ord FROM sbas';
$stmt = $conn->prepare($sql);