Passed
Push — develop-3.3.x ( cfa84f...79c962 )
by Mario
02:52
created

v330_m3_update_data   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A update_data() 0 5 1
A depends_on() 0 3 1
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_m3_update_data extends \phpbb\db\migration\migration
14
{
15
	public static function depends_on()
16
	{
17
		return ['\skouat\ppde\migrations\v32x\v330_m2_update_data'];
18
	}
19
20
	public function update_data()
21
	{
22
		return [
23
			['config.update', ['ppde_tls_detected', false]],
24
			['config.update', ['ppde_first_start', true]],
25
		];
26
	}
27
}
28