aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2017-09-05 17:50:44 +0200
committerRubén Calvo <rubencm@gmail.com>2017-09-05 18:48:02 +0200
commitd99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340 (patch)
tree6c76866569222c93c631023583629b1228549ddd
parente854e5b71f90910075fbac2b4f0dadac4fd39588 (diff)
downloadforums-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.tar
forums-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.tar.gz
forums-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.tar.bz2
forums-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.tar.xz
forums-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.zip
[ticket/15346] Add log message if extension is not enableable
PHPBB3-15346
-rw-r--r--phpBB/language/en/cli.php1
-rw-r--r--phpBB/phpbb/install/module/install_finish/task/install_extensions.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/language/en/cli.php b/phpBB/language/en/cli.php
index 124d9cb6ef..1655855edb 100644
--- a/phpBB/language/en/cli.php
+++ b/phpBB/language/en/cli.php
@@ -123,6 +123,7 @@ $lang = array_merge($lang, array(
'CLI_EXTENSION_UPDATE_FAILURE' => 'Could not update extension %s',
'CLI_EXTENSION_UPDATE_SUCCESS' => 'Successfully updated extension %s',
'CLI_EXTENSION_NOT_FOUND' => 'No extensions were found.',
+ 'CLI_EXTENSION_NOT_ENABLEABLE' => 'Extension %s is not enableable.',
'CLI_EXTENSIONS_AVAILABLE' => 'Available',
'CLI_EXTENSIONS_DISABLED' => 'Disabled',
'CLI_EXTENSIONS_ENABLED' => 'Enabled',
diff --git a/phpBB/phpbb/install/module/install_finish/task/install_extensions.php b/phpBB/phpbb/install/module/install_finish/task/install_extensions.php
index db28ad8fe3..eee13a6581 100644
--- a/phpBB/phpbb/install/module/install_finish/task/install_extensions.php
+++ b/phpBB/phpbb/install/module/install_finish/task/install_extensions.php
@@ -122,6 +122,7 @@ class install_extensions extends \phpbb\install\task_base
if (!$extension->is_enableable())
{
+ $this->iohandler->add_log_message(array('CLI_EXTENSION_NOT_ENABLEABLE', $ext_name));
continue;
}