dbtool_info   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 7 1
1
<?php
2
/**
3
 *
4
 * Database Optimize & Repair Tool
5
 *
6
 * @copyright (c) 2013 Matt Friedman
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace vse\dbtool\acp;
12
13
/**
14
 * @package module_install
15
 */
16
class dbtool_info
17
{
18
	public function module()
19
	{
20
		return [
21
			'filename'	=> '\vse\dbtool\acp\dbtool_module',
22
			'title'		=> 'ACP_OPTIMIZE_REPAIR',
23
			'modes'		=> [
24
				'view'	=> ['title' => 'ACP_OPTIMIZE_REPAIR', 'auth' => 'ext_vse/dbtool && acl_a_backup', 'cat' => ['ACP_CAT_DATABASE']],
25
			],
26
		];
27
	}
28
}
29