Code Duplication    Length = 17-18 lines in 3 locations

migrations/release_100rc1.php 1 location

@@ 14-30 (lines=17) @@
11
12
use phpbb\db\migration\migration;
13
14
class release_100rc1 extends migration
15
{
16
	static public function depends_on()
17
	{
18
		return array(
19
			'\paul999\ajaxshoutbox\migrations\release_100beta2',
20
			'\paul999\ajaxshoutbox\migrations\add_date_config',
21
		);
22
	}
23
24
	public function update_data()
25
	{
26
		return array(
27
			array('config.update', array('ajaxshoutbox_version', '1.0.0-RC1'))
28
		);
29
	}
30
}
31

migrations/release_102.php 1 location

@@ 14-30 (lines=17) @@
11
12
use phpbb\db\migration\migration;
13
14
class release_102 extends migration
15
{
16
	static public function depends_on()
17
	{
18
		return array(
19
			'\paul999\ajaxshoutbox\migrations\release_101',
20
			'\phpbb\db\migration\data\v310\gold',
21
		);
22
	}
23
24
	public function update_data()
25
	{
26
		return array(
27
			array('config.update', array('ajaxshoutbox_version', '1.0.2'))
28
		);
29
	}
30
}
31

migrations/release_104.php 1 location

@@ 14-31 (lines=18) @@
11
12
use phpbb\db\migration\migration;
13
14
class release_104 extends migration
15
{
16
	static public function depends_on()
17
	{
18
		return array(
19
			'\paul999\ajaxshoutbox\migrations\remove_push_config',
20
			'\paul999\ajaxshoutbox\migrations\release_102',
21
			'\phpbb\db\migration\data\v310\gold',
22
		);
23
	}
24
25
	public function update_data()
26
	{
27
		return array(
28
			array('config.update', array('ajaxshoutbox_version', '1.0.4'))
29
		);
30
	}
31
}
32