Add feature to disable modules without having to remove them

This commit is contained in:
Marc Alexander
2011-03-11 14:00:32 +01:00
parent 45372fe769
commit 9db0baf400
13 changed files with 71 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ $versions = array(
),
'table_add' => array(
array('phpbb_portal_config', array(
array(PORTAL_CONFIG_TABLE, array(
'COLUMNS' => array(
'config_name' => array('VCHAR:255', ''),
'config_value'=> array('MTEXT', ''),
@@ -267,7 +267,7 @@ $versions = array(
),
'table_add' => array(
array('phpbb_portal_modules', array(
array(PORTAL_MODULES_TABLE, array(
'COLUMNS' => array(
'module_id' => array('UINT:3', NULL, 'auto_increment'),
'module_classname' => array('VCHAR:64', ''),
@@ -347,6 +347,12 @@ $versions = array(
'custom' => array('board3_basic_install'),
),
'2.0.0a2' => array(
'table_column_add' => array(
array(PORTAL_MODULES_TABLE, 'module_status', array('TINT:1', 1)),
),
),
);
// Include the UMIL Auto file, it handles the rest