From 1a8c91b0d40bc0331722906607ddf99c2be7c8d9 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 25 Mar 2006 19:14:55 +0000 Subject: ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing "hacks" is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code. git-svn-id: file:///svn/phpbb/trunk@5725 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/mcp/mcp_reports.php | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'phpBB/includes/mcp/mcp_reports.php') diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php index 6bb6a2e609..8b30694e1a 100755 --- a/phpBB/includes/mcp/mcp_reports.php +++ b/phpBB/includes/mcp/mcp_reports.php @@ -492,32 +492,4 @@ function close_report($post_id_list, $mode, $action) } } -/** -* @package module_install -*/ -class mcp_reports_info -{ - function module() - { - return array( - 'filename' => 'mcp_reports', - 'title' => 'MCP_REPORTS', - 'version' => '1.0.0', - 'modes' => array( - 'report_details' => array('title' => 'MCP_REPORT_DETAILS', 'auth' => 'acl_m_report || aclf_m_report'), - 'reports' => array('title' => 'MCP_REPORTS', 'auth' => 'acl_m_report ||aclf_m_report'), - 'reports_closed' => array('title' => 'MCP_REPORTS_CLOSED', 'auth' => 'acl_m_report || aclf_m_report'), - ), - ); - } - - function install() - { - } - - function uninstall() - { - } -} - ?> \ No newline at end of file -- cgit v1.2.1