Passed
Push — 3.3.x ( 3f7215...fbaa03 )
by Mario
04:04 queued 11s
created

v330_m2_update_data::depends_on()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
/**
3
 *
4
 * PayPal Donation extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2015-2020 Skouat
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace skouat\ppde\migrations\v33x;
12
13
class v330_m2_update_data extends \phpbb\db\migration\migration
14
{
15
	public static function depends_on()
16
	{
17
		return ['\skouat\ppde\migrations\v33x\v330_m1_update_data'];
18
	}
19
20
	public function update_data()
21
	{
22
		return [
23
			['config.add', ['ppde_stats_position', 'bottom']],
24
			['config.add', ['ppde_allow_guest', false]],
25
			['config.add', ['ppde_ipn_dl_allow_guest', false]],
26
		];
27
	}
28
}
29