[feature/migrations] Use getLocalisedMessage() function to get error message

PHPBB3-11318
This commit is contained in:
Nathan Guse 2013-02-15 22:22:13 -06:00
parent 193a3beb8f
commit 872773a218

View file

@ -114,7 +114,7 @@ class acp_extensions
}
catch (phpbb_db_migration_exception $e)
{
$template->assign_var('MIGRATOR_ERROR', $user->lang($e->getMessage(), $e->getParameters()));
$template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($user));
}
$this->tpl_name = 'acp_ext_enable';
@ -174,7 +174,7 @@ class acp_extensions
}
catch (phpbb_db_migration_exception $e)
{
$template->assign_var('MIGRATOR_ERROR', $user->lang($e->getMessage(), $e->getParameters()));
$template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($user));
}
$this->tpl_name = 'acp_ext_purge';