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_queue.php | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'phpBB/includes/mcp/mcp_queue.php') diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 422cb140f7..11378d1f9f 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -721,32 +721,4 @@ function disapprove_post($post_id_list, $mode) } } -/** -* @package module_install -*/ -class mcp_queue_info -{ - function module() - { - return array( - 'filename' => 'mcp_queue', - 'title' => 'MCP_QUEUE', - 'version' => '1.0.0', - 'modes' => array( - 'approve_details' => array('title' => 'MCP_QUEUE_APPROVE_DETAILS', 'auth' => 'acl_m_approve || aclf_m_approve'), - 'unapproved_topics' => array('title' => 'MCP_QUEUE_UNAPPROVED_TOPICS', 'auth' => 'acl_m_approve || aclf_m_approve'), - 'unapproved_posts' => array('title' => 'MCP_QUEUE_UNAPPROVED_POSTS', 'auth' => 'acl_m_approve || aclf_m_approve'), - ), - ); - } - - function install() - { - } - - function uninstall() - { - } -} - ?> \ No newline at end of file -- cgit v1.2.1