diff options
author | 2017-09-05 17:50:44 +0200 | |
---|---|---|
committer | 2017-09-05 18:48:02 +0200 | |
commit | d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340 (patch) | |
tree | 6c76866569222c93c631023583629b1228549ddd | |
parent | [ticket/15346] Check if extension is enableable during install (diff) | |
download | phpbb-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.tar.gz phpbb-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.tar.bz2 phpbb-d99dbf1f0ea08e69be4fd61df2a45bbf1f0b1340.zip |
[ticket/15346] Add log message if extension is not enableable
PHPBB3-15346
-rw-r--r-- | phpBB/language/en/cli.php | 1 | ||||
-rw-r--r-- | phpBB/phpbb/install/module/install_finish/task/install_extensions.php | 1 |
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; } |