aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/migration/tool/config.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-02-09 20:56:42 -0600
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-02-09 20:56:42 -0600
commitcacaffee6e013e43b75212d49960922f88f9f69a (patch)
treea5bd9ded0a93bd68f9bb7e4ac9cd729d95fdab9e /phpBB/includes/db/migration/tool/config.php
parentfa33eae556c248ef6b2d41d9c9203b29e23dfb3a (diff)
downloadforums-cacaffee6e013e43b75212d49960922f88f9f69a.tar
forums-cacaffee6e013e43b75212d49960922f88f9f69a.tar.gz
forums-cacaffee6e013e43b75212d49960922f88f9f69a.tar.bz2
forums-cacaffee6e013e43b75212d49960922f88f9f69a.tar.xz
forums-cacaffee6e013e43b75212d49960922f88f9f69a.zip
[feature/migrations] Add language strings for migrations errors
Unfulfillable returns string of the missing dependency name now if the migration is unfulfillable (this is significantly more helpful). PHPBB3-11351
Diffstat (limited to 'phpBB/includes/db/migration/tool/config.php')
-rw-r--r--phpBB/includes/db/migration/tool/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/migration/tool/config.php b/phpBB/includes/db/migration/tool/config.php
index d9cc20053e..458a25fb66 100644
--- a/phpBB/includes/db/migration/tool/config.php
+++ b/phpBB/includes/db/migration/tool/config.php
@@ -49,7 +49,7 @@ class phpbb_db_migration_tool_config implements phpbb_db_migration_tool_interfac
{
if (isset($this->config[$config_name]))
{
- throw new phpbb_db_migration_exception('CONFIG_ALREADY_EXISTS', $config_name);
+ throw new phpbb_db_migration_exception('CONFIG_ALREADY_EXIST', $config_name);
}
$this->config->set($config_name, $config_value, !$is_dynamic);