mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Remove check innoDB
This commit is contained in:
@@ -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);
|
||||
|
@@ -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());
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user