diff options
Diffstat (limited to 'tests/extension/includes/acp')
| -rw-r--r-- | tests/extension/includes/acp/acp_foobar.php | 29 | ||||
| -rw-r--r-- | tests/extension/includes/acp/info/acp_foobar.php | 27 | 
2 files changed, 56 insertions, 0 deletions
diff --git a/tests/extension/includes/acp/acp_foobar.php b/tests/extension/includes/acp/acp_foobar.php new file mode 100644 index 0000000000..c4591cae07 --- /dev/null +++ b/tests/extension/includes/acp/acp_foobar.php @@ -0,0 +1,29 @@ +<?php +/** +* +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +/** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ +	exit; +} + +class acp_foobar +{ +	var $u_action; + +	function main($id, $mode) +	{ +	} +} diff --git a/tests/extension/includes/acp/info/acp_foobar.php b/tests/extension/includes/acp/info/acp_foobar.php new file mode 100644 index 0000000000..870225ba4f --- /dev/null +++ b/tests/extension/includes/acp/info/acp_foobar.php @@ -0,0 +1,27 @@ +<?php +/** +* +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +class acp_foobar_info +{ +	function module() +	{ +		return array( +			'filename'	=> 'acp_foobar', +			'title'		=> 'ACP Foobar', +			'version'	=> '3.1.0-dev', +			'modes'		=> array( +				'test'		=> array('title' => 'Test', 'auth' => '', 'cat' => array('ACP_GENERAL')), +			), +		); +	} +}  | 
