Completed
Push — master ( 6cfe9f...d6cbe8 )
by Paul
13s queued 10s
created

add_config::update_data()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 *
4
 * 2FA extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2015 Paul Sohier
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace paul999\tfa\migrations;
12
13
use paul999\tfa\helper\session_helper_interface;
14
15
class add_config extends \phpbb\db\migration\migration
16
{
17
	/**
18
	 * Add or update data in the database
19
	 *
20
	 * @return array Array of table data
21
	 * @access public
22
	 */
23
	public function update_data()
24
	{
25
		return array(
26
			array('config.add', array('tfa_acp', session_helper_interface::ACP_ENABLED)),
27
		);
28
	}
29
}
30