Code Duplication    Length = 7-8 lines in 2 locations

migrations/v310_m4_install_data.php 1 location

@@ 34-40 (lines=7) @@
31
	/**
32
	 * {@inheritdoc}
33
	 */
34
	public function update_data()
35
	{
36
		return array(
37
			array('config.add', array('abbc3_version', '3.1.0')),
38
			array('custom', array(array($this, 'install_abbc3_bbcodes'))),
39
		);
40
	}
41
42
	/**
43
	 * {@inheritdoc}

migrations/v310_m5_update_bbcodes.php 1 location

@@ 34-41 (lines=8) @@
31
	/**
32
	 * {@inheritdoc}
33
	 */
34
	public function update_data()
35
	{
36
		return array(
37
			// Stop tracking the version number in the db
38
			array('config.remove', array('abbc3_version')),
39
			array('custom', array(array($this, 'install_abbc3_bbcodes'))),
40
		);
41
	}
42
43
	/**
44
	 * {@inheritdoc}