1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-22 16:40:21 +01:00

[ticket/15346] Add log message if extension is not enableable

PHPBB3-15346
This commit is contained in:
Rubén Calvo 2017-09-05 17:50:44 +02:00
parent e854e5b71f
commit d99dbf1f0e
2 changed files with 2 additions and 0 deletions

View File

@ -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',

View File

@ -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;
}