aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-02-15 22:22:13 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2013-02-15 22:22:13 -0600
commit872773a21897ccad754a53d7c8ad7899bcc05796 (patch)
tree7f02fd263e2b0a98715b42f6317dab4181ab14ac /phpBB
parent193a3beb8f75e17b09a0e66d2815bc2bf8d4dce4 (diff)
downloadforums-872773a21897ccad754a53d7c8ad7899bcc05796.tar
forums-872773a21897ccad754a53d7c8ad7899bcc05796.tar.gz
forums-872773a21897ccad754a53d7c8ad7899bcc05796.tar.bz2
forums-872773a21897ccad754a53d7c8ad7899bcc05796.tar.xz
forums-872773a21897ccad754a53d7c8ad7899bcc05796.zip
[feature/migrations] Use getLocalisedMessage() function to get error message
PHPBB3-11318
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_extensions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index 17ab4f3169..24211196bd 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -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';