tfa_info::module()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 9.8333
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\acp;
12
13
class tfa_info
14
{
15
	public function module()
16
	{
17
		return array(
18
			'filename'	=> '\paul999\tfa\acp\tfa_module',
19
			'title'		=> 'ACP_TFA',
20
			'modes'		=> array(
21
				'manage'	=> array(
22
					'title'	=> 'ACP_TFA_MANAGE',
23
					'auth'	=> 'ext_paul999/tfa && acl_a_tfa',
24
					'cat'	=> array('ACP_TFA')),
25
			),
26
		);
27
	}
28
}
29