Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 12 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
mcp_warn_info | |
0.00% |
0 / 12 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
module | |
0.00% |
0 / 10 |
|
0.00% |
0 / 1 |
2 | |||
install | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
uninstall | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | /** |
3 | * |
4 | * This file is part of the phpBB Forum Software package. |
5 | * |
6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
8 | * |
9 | * For full copyright and license information, please see |
10 | * the docs/CREDITS.txt file. |
11 | * |
12 | */ |
13 | |
14 | class mcp_warn_info |
15 | { |
16 | function module() |
17 | { |
18 | return array( |
19 | 'filename' => 'mcp_warn', |
20 | 'title' => 'MCP_WARN', |
21 | 'modes' => array( |
22 | 'front' => array('title' => 'MCP_WARN_FRONT', 'auth' => 'aclf_m_warn', 'cat' => array('MCP_WARN')), |
23 | 'list' => array('title' => 'MCP_WARN_LIST', 'auth' => 'aclf_m_warn', 'cat' => array('MCP_WARN')), |
24 | 'warn_user' => array('title' => 'MCP_WARN_USER', 'auth' => 'aclf_m_warn', 'cat' => array('MCP_WARN')), |
25 | 'warn_post' => array('title' => 'MCP_WARN_POST', 'auth' => 'acl_m_warn && acl_f_read,$id', 'cat' => array('MCP_WARN')), |
26 | ), |
27 | ); |
28 | } |
29 | |
30 | function install() |
31 | { |
32 | } |
33 | |
34 | function uninstall() |
35 | { |
36 | } |
37 | } |