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_main.php | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'phpBB/includes/mcp/mcp_main.php') diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index a7e71d6e97..9513bc96f8 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -951,33 +951,4 @@ function mcp_fork_topic($topic_ids) } } -/** -* @package module_install -*/ -class mcp_main_info -{ - function module() - { - return array( - 'filename' => 'mcp_main', - 'title' => 'MCP_MAIN', - 'version' => '1.0.0', - 'modes' => array( - 'forum_view' => array('title' => 'MCP_MAIN_FORUM_VIEW', 'auth' => 'acl_m_,$id'), - 'front' => array('title' => 'MCP_MAIN_FRONT', 'auth' => 'acl_m_'), - 'post_details' => array('title' => 'MCP_MAIN_POST_DETAILS', 'auth' => 'acl_m_,$id'), - 'topic_view' => array('title' => 'MCP_MAIN_TOPIC_VIEW', 'auth' => 'acl_m_,$id'), - ), - ); - } - - function install() - { - } - - function uninstall() - { - } -} - ?> \ No newline at end of file -- cgit v1.2.1