From af2b2ac37413b51c62af864cee16ebf933797f26 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Mon, 12 Jan 2015 16:42:38 +0100 Subject: [PATCH] PHRAS-288 Check if storage engines is available --- lib/Alchemy/Phrasea/Controller/Admin/DataboxesController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/Controller/Admin/DataboxesController.php b/lib/Alchemy/Phrasea/Controller/Admin/DataboxesController.php index 3652ffa773..c1d82d0270 100644 --- a/lib/Alchemy/Phrasea/Controller/Admin/DataboxesController.php +++ b/lib/Alchemy/Phrasea/Controller/Admin/DataboxesController.php @@ -10,7 +10,6 @@ namespace Alchemy\Phrasea\Controller\Admin; -use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Controller\Controller; use Doctrine\DBAL\Connection; use Doctrine\DBAL\DBALException; @@ -88,7 +87,7 @@ class DataboxesController extends Controller $errorMsg = $this->app->trans('Database could not be mounted'); break; 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; }