mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-28 18:49:52 +02:00
[ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
PHPBB3-12446
This commit is contained in:
@@ -18,7 +18,7 @@ class mysql_fulltext_drop extends \phpbb\db\migration\migration
|
||||
public function effectively_installed()
|
||||
{
|
||||
// This migration is irrelevant for all non-MySQL DBMSes.
|
||||
return strpos($this->db->sql_layer, 'mysql') === false;
|
||||
return strpos($this->db->get_sql_layer(), 'mysql') === false;
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
|
@@ -18,7 +18,7 @@ class postgres_fulltext_drop extends \phpbb\db\migration\migration
|
||||
public function effectively_installed()
|
||||
{
|
||||
// This migration is irrelevant for all non-PostgreSQL DBMSes.
|
||||
return strpos($this->db->sql_layer, 'postgres') === false;
|
||||
return strpos($this->db->get_sql_layer(), 'postgres') === false;
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
|
Reference in New Issue
Block a user