1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-25 18:13:28 +01:00

[ticket/14492] Only show fail of extension install if it's available

PHPBB3-14492
This commit is contained in:
Marc Alexander 2016-02-29 11:31:33 +01:00
parent 67c3bd4a90
commit e519b21b2e
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -125,10 +125,10 @@ class install_extensions extends \phpbb\install\task_base
// Create log
$this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_ENABLE', time(), array($ext_name));
}
}
else
{
$this->iohandler->add_log_message(array('CLI_EXTENSION_ENABLE_FAILURE', $ext_name));
else
{
$this->iohandler->add_log_message(array('CLI_EXTENSION_ENABLE_FAILURE', $ext_name));
}
}
}
}