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

v330_m3_update_data::update_data()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
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