1
0
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:
Marc Alexander 2016-01-30 16:12:44 +01:00
parent c5e0635bc7
commit 430ec6f61d
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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'));