v330_m1_update_data::update_data()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
nc 1
nop 0
dl 0
loc 10
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_m1_update_data extends \phpbb\db\migration\migration
14
{
15
	public static function depends_on()
16
	{
17
		return ['\skouat\ppde\migrations\v32x\v320_m6_update_data'];
18
	}
19
20
	public function update_data()
21
	{
22
		return [
23
			// PHP intl Settings
24
			['config.add', ['ppde_default_locale', '']],
25
			['config.add', ['ppde_intl_detected', false]],
26
			['config.add', ['ppde_intl_version', '']],
27
			['config.add', ['ppde_intl_version_valid', false]],
28
			['config.add', ['ppde_stats_text_only', false]],
29
			['config.update', ['ppde_first_start', true]],
30
		];
31
	}
32
}
33