Skip to content

Commit 257d1ce

Browse files
committed
Add depends on method and set min phpBB version to 310 gold
1 parent 6318c87 commit 257d1ce

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"extra": {
4545
"display-name": "Google Analytics",
4646
"soft-require": {
47-
"phpbb/phpbb": ">=3.1.0-RC3,<3.2.*@dev"
47+
"phpbb/phpbb": ">=3.1.0,<3.2.*@dev"
4848
},
4949
"version-check": {
5050
"host": "www.phpbb.com",

migrations/v10x/m1_initial_data.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@
1515
*/
1616
class m1_initial_data extends \phpbb\db\migration\migration
1717
{
18+
/**
19+
* Assign migration file dependencies for this migration
20+
*
21+
* @return array Array of migration files
22+
* @static
23+
* @access public
24+
*/
25+
static public function depends_on()
26+
{
27+
return array('\phpbb\db\migration\data\v310\gold');
28+
}
29+
1830
/**
1931
* Add Google Analytics data to the database.
2032
*

0 commit comments

Comments
 (0)