mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-25 18:13:28 +01:00
[ticket/14492] Do not install extensions in installer if in test env
PHPBB3-14492
This commit is contained in:
parent
c5e0635bc7
commit
430ec6f61d
@ -89,6 +89,11 @@ class install_extensions extends \phpbb\install\task_base
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
if (defined('PHPBB_ENVIRONMENT') && PHPBB_ENVIRONMENT === 'test')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$this->user->session_begin();
|
||||
$this->user->setup(array('common', 'acp/common', 'cli'));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user