diff options
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php b/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php index 2bb64bdef4..13db2f2a40 100644 --- a/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php +++ b/phpBB/phpbb/db/migration/data/v310/mysql_fulltext_drop.php @@ -11,6 +11,12 @@ namespace phpbb\db\migration\data\v310; 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; + } + static public function depends_on() { return array( @@ -20,11 +26,6 @@ class mysql_fulltext_drop extends \phpbb\db\migration\migration public function update_schema() { - if (strpos($this->db->sql_layer, 'mysql') === false) - { - return array(); - } - return array( 'drop_keys' => array( $this->table_prefix . 'posts' => array( |