mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
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
This commit is contained in:
@@ -494,31 +494,4 @@ class acp_search
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @package module_install
|
||||
*/
|
||||
class acp_search_info
|
||||
{
|
||||
function module()
|
||||
{
|
||||
return array(
|
||||
'filename' => 'acp_search',
|
||||
'title' => 'ACP_SEARCH',
|
||||
'version' => '1.0.0',
|
||||
'modes' => array(
|
||||
'settings' => array('title' => 'ACP_SEARCH_SETTINGS', 'auth' => 'acl_a_search'),
|
||||
'index' => array('title' => 'ACP_SEARCH_INDEX', 'auth' => 'acl_a_search'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
function install()
|
||||
{
|
||||
}
|
||||
|
||||
function uninstall()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user