PHRAS-288 Check if storage engines is available

This commit is contained in:
Nicolas Le Goff
2015-01-12 16:42:38 +01:00
committed by Benoît Burnichon
parent cd85d4fdf9
commit af2b2ac374

View File

@@ -10,7 +10,6 @@
namespace Alchemy\Phrasea\Controller\Admin; namespace Alchemy\Phrasea\Controller\Admin;
use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Controller\Controller; use Alchemy\Phrasea\Controller\Controller;
use Doctrine\DBAL\Connection; use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DBALException; use Doctrine\DBAL\DBALException;
@@ -88,7 +87,7 @@ class DataboxesController extends Controller
$errorMsg = $this->app->trans('Database could not be mounted'); $errorMsg = $this->app->trans('Database could not be mounted');
break; break;
case 'innodb-support' : case 'innodb-support' :
$errorMsg = _('Database server does not support InnoDB storage engine'); $errorMsg = $this->app->trans('Database server does not support InnoDB storage engine');
break; break;
} }