migrations/release_0_3_1_data.php 1 location
|
@@ 12-26 (lines=15) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_0_3_1_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '0.3.1', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
// Add ACP module |
23 |
|
array('config.add', array('socialbuttons_version', '0.3.1')), |
24 |
|
); |
25 |
|
} |
26 |
|
} |
27 |
|
|
migrations/release_0_3_2_data.php 1 location
|
@@ 12-26 (lines=15) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_0_3_2_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '0.3.2', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
// Add ACP module |
23 |
|
array('config.add', array('socialbuttons_version', '0.3.2')), |
24 |
|
); |
25 |
|
} |
26 |
|
} |
27 |
|
|
migrations/release_0_3_3_data.php 1 location
|
@@ 12-26 (lines=15) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_0_3_3_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '0.3.3', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
// Add ACP module |
23 |
|
array('config.add', array('socialbuttons_version', '0.3.3')), |
24 |
|
); |
25 |
|
} |
26 |
|
} |
27 |
|
|
migrations/release_0_3_4_data.php 1 location
|
@@ 12-26 (lines=15) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_0_3_4_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '0.3.4', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
// Add ACP module |
23 |
|
array('config.add', array('socialbuttons_version', '0.3.4')), |
24 |
|
); |
25 |
|
} |
26 |
|
} |
27 |
|
|
migrations/release_0_4_1_data.php 1 location
|
@@ 12-25 (lines=14) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_0_4_1_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '0.4.1', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
array('config.add', array('socialbuttons_version', '0.4.1')), |
23 |
|
); |
24 |
|
} |
25 |
|
} |
26 |
|
|
migrations/release_0_4_2_data.php 1 location
|
@@ 12-25 (lines=14) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_0_4_2_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '0.4.2', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
array('config.add', array('socialbuttons_version', '0.4.2')), |
23 |
|
); |
24 |
|
} |
25 |
|
} |
26 |
|
|
migrations/release_0_5_1_data.php 1 location
|
@@ 12-25 (lines=14) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_0_5_1_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '0.5.1', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
array('config.add', array('socialbuttons_version', '0.5.1')), |
23 |
|
); |
24 |
|
} |
25 |
|
} |
26 |
|
|
migrations/release_1_0_0_rc1_data.php 1 location
|
@@ 12-25 (lines=14) @@
|
9 |
|
|
10 |
|
namespace tas2580\socialbuttons\migrations; |
11 |
|
|
12 |
|
class release_1_0_0_rc1_data extends \phpbb\db\migration\migration |
13 |
|
{ |
14 |
|
public function effectively_installed() |
15 |
|
{ |
16 |
|
return isset($this->config['socialbuttons_version']) && version_compare($this->config['socialbuttons_version'], '1.0.0-RC1', '>='); |
17 |
|
} |
18 |
|
|
19 |
|
public function update_data() |
20 |
|
{ |
21 |
|
return array( |
22 |
|
array('config.add', array('socialbuttons_version', '1.0.0-RC1')), |
23 |
|
); |
24 |
|
} |
25 |
|
} |
26 |
|
|