[ticket/239] Disable uploading portal modules for now
B3P-239
This commit is contained in:
@@ -28,7 +28,7 @@ class portal_info
|
||||
'modes' => array(
|
||||
'config' => array('title' => 'ACP_PORTAL_GENERAL_INFO', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||
'modules' => array('title' => 'ACP_PORTAL_MODULES', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||
'upload_module' => array('title' => 'ACP_PORTAL_UPLOAD', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||
//'upload_module' => array('title' => 'ACP_PORTAL_UPLOAD', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -170,16 +170,6 @@ class v210_beta1 extends \phpbb\db\migration\migration
|
||||
'module_langname' => 'ACP_PORTAL_MODULES',
|
||||
),
|
||||
)),
|
||||
array('module.add', array(
|
||||
'acp',
|
||||
'ACP_PORTAL',
|
||||
array(
|
||||
'module_basename' => '\board3\portal\acp\portal_module',
|
||||
'module_mode' => 'upload_module',
|
||||
'module_auth' => 'acl_a_manage_portal',
|
||||
'module_langname' => 'ACP_PORTAL_UPLOAD',
|
||||
),
|
||||
)),
|
||||
|
||||
array('custom', array(array($this, 'add_portal_data'))),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user