aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-04 17:32:25 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-03 14:23:34 +0100
commitdee5e6e07636db7e35a82919a723907e734fbcd1 (patch)
treec3e26430a819589dd374224c9a0aa5c2158c5699 /phpBB/phpbb/install
parentb1596fda7f88bc0e2817a1143be6ff94ef3aae2a (diff)
downloadforums-dee5e6e07636db7e35a82919a723907e734fbcd1.tar
forums-dee5e6e07636db7e35a82919a723907e734fbcd1.tar.gz
forums-dee5e6e07636db7e35a82919a723907e734fbcd1.tar.bz2
forums-dee5e6e07636db7e35a82919a723907e734fbcd1.tar.xz
forums-dee5e6e07636db7e35a82919a723907e734fbcd1.zip
[ticket/14492] Add language variables for updating extensions
PHPBB3-14492
Diffstat (limited to 'phpBB/phpbb/install')
-rw-r--r--phpBB/phpbb/install/module/update_database/task/update_extensions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/install/module/update_database/task/update_extensions.php b/phpBB/phpbb/install/module/update_database/task/update_extensions.php
index 24b72f7b42..76904f80f1 100644
--- a/phpBB/phpbb/install/module/update_database/task/update_extensions.php
+++ b/phpBB/phpbb/install/module/update_database/task/update_extensions.php
@@ -174,11 +174,11 @@ class update_extensions extends task_base
if (isset($extensions[$ext_name]) && $extensions[$ext_name]['ext_active'])
{
// Create log
- $this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_ENABLE', time(), array($ext_name));
- $this->iohandler->add_success_message(array('CLI_EXTENSION_ENABLE_SUCCESS', $ext_name));
+ $this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_UPDATE', time(), array($ext_name));
+ $this->iohandler->add_success_message(array('CLI_EXTENSION_UPDATE_SUCCESS', $ext_name));
} else
{
- $this->iohandler->add_log_message('CLI_EXTENSION_ENABLE_FAILURE', array($ext_name));
+ $this->iohandler->add_log_message('CLI_EXTENSION_UPDATE_FAILURE', array($ext_name));
}
// Disable extensions if it was disabled by the admin before
@@ -190,7 +190,7 @@ class update_extensions extends task_base
catch (\Exception $e)
{
// Add fail log and continue
- $this->iohandler->add_log_message('CLI_EXTENSION_ENABLE_FAILURE', array($ext_name));
+ $this->iohandler->add_log_message('CLI_EXTENSION_UPDATE_FAILURE', array($ext_name));
}
}