mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Remove check innoDB
This commit is contained in:
@@ -94,10 +94,6 @@ class Install extends Command
|
|||||||
|
|
||||||
$abConn = $this->getABConn($input, $output, $dialog);
|
$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($dbConn, $template) = $this->getDBConn($input, $output, $abConn, $dialog);
|
||||||
list($email, $password) = $this->getCredentials($input, $output, $dialog);
|
list($email, $password) = $this->getCredentials($input, $output, $dialog);
|
||||||
$dataPath = $this->getDataPath($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']);
|
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 {
|
try {
|
||||||
$base = \databox::create($app, $connbas, $dataTemplate);
|
$base = \databox::create($app, $connbas, $dataTemplate);
|
||||||
$base->registerAdmin($app['authentication']->getUser());
|
$base->registerAdmin($app['authentication']->getUser());
|
||||||
|
@@ -625,10 +625,6 @@ class databox extends base
|
|||||||
]);
|
]);
|
||||||
$conn->connect();
|
$conn->connect();
|
||||||
|
|
||||||
if (false === $connection->supportInnoDB()) {
|
|
||||||
throw new \Exception('Database server does not support InnoDB storage engine');
|
|
||||||
}
|
|
||||||
|
|
||||||
$conn = $app['phraseanet.appbox']->get_connection();
|
$conn = $app['phraseanet.appbox']->get_connection();
|
||||||
$sql = 'SELECT MAX(ord) as ord FROM sbas';
|
$sql = 'SELECT MAX(ord) as ord FROM sbas';
|
||||||
$stmt = $conn->prepare($sql);
|
$stmt = $conn->prepare($sql);
|
||||||
|
Reference in New Issue
Block a user