diff options
author | Marc Alexander <admin@m-a-styles.de> | 2020-01-02 10:46:52 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2020-01-02 10:46:52 +0100 |
commit | dce0441ecf5fb3b163268be63552a85196dec020 (patch) | |
tree | 405d4ef730a30668c4752ac4bccd9e356320ca92 /phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php | |
parent | 46b70ded94ca5a0b9ce05d757fa8e7feb1d1056f (diff) | |
parent | 79287abd7b3b6e837774bda6971061c923050d45 (diff) | |
download | forums-dce0441ecf5fb3b163268be63552a85196dec020.tar forums-dce0441ecf5fb3b163268be63552a85196dec020.tar.gz forums-dce0441ecf5fb3b163268be63552a85196dec020.tar.bz2 forums-dce0441ecf5fb3b163268be63552a85196dec020.tar.xz forums-dce0441ecf5fb3b163268be63552a85196dec020.zip |
Merge pull request #5809 from marc1706/ticket/16285
[ticket/16285] Add sanity checks to migrations for 3.3
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php b/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php index 11dc43483b..c136960905 100644 --- a/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php +++ b/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php @@ -21,8 +21,13 @@ class remove_attachment_flash extends \phpbb\db\migration\migration const ATTACHMENT_CATEGORY_FLASH = 5; protected $cat_id = array( - self::ATTACHMENT_CATEGORY_FLASH, - ); + self::ATTACHMENT_CATEGORY_FLASH, + ); + + public static function depends_on() + { + return ['\phpbb\db\migration\data\v330\dev',]; + } public function update_data() { |