mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge remote-tracking branch 'github-nicofuma/ticket/12446' into develop-ascraeus
* github-nicofuma/ticket/12446: [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
This commit is contained in:
@@ -75,11 +75,6 @@ if (isset($_GET['avatar']))
|
||||
$db = $phpbb_container->get('dbal.conn');
|
||||
$phpbb_log = $phpbb_container->get('log');
|
||||
|
||||
// Connect to DB
|
||||
if (!@$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
unset($dbpasswd);
|
||||
|
||||
request_var('', 0, false, false, $request);
|
||||
|
Reference in New Issue
Block a user