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:
parent
e854e5b71f
commit
d99dbf1f0e
@ -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',
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user