aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/migration/data/310/extensions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/db/migration/data/310/extensions.php')
-rw-r--r--phpBB/includes/db/migration/data/310/extensions.php69
1 files changed, 0 insertions, 69 deletions
diff --git a/phpBB/includes/db/migration/data/310/extensions.php b/phpBB/includes/db/migration/data/310/extensions.php
deleted file mode 100644
index 6a9caa1cfc..0000000000
--- a/phpBB/includes/db/migration/data/310/extensions.php
+++ /dev/null
@@ -1,69 +0,0 @@
-<?php
-/**
-*
-* @package migration
-* @copyright (c) 2012 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2
-*
-*/
-
-class phpbb_db_migration_data_310_extensions extends phpbb_db_migration
-{
- public function effectively_installed()
- {
- return $this->db_tools->sql_table_exists($this->table_prefix . 'ext');
- }
-
- static public function depends_on()
- {
- return array('phpbb_db_migration_data_30x_3_0_11');
- }
-
- public function update_schema()
- {
- return array(
- 'add_tables' => array(
- $this->table_prefix . 'ext' => array(
- 'COLUMNS' => array(
- 'ext_name' => array('VCHAR', ''),
- 'ext_active' => array('BOOL', 0),
- 'ext_state' => array('TEXT', ''),
- ),
- 'KEYS' => array(
- 'ext_name' => array('UNIQUE', 'ext_name'),
- ),
- ),
- ),
- );
- }
-
- public function revert_schema()
- {
- return array(
- 'drop_tables' => array(
- $this->table_prefix . 'ext',
- ),
- );
- }
-
- public function update_data()
- {
- return array(
- // Module will be renamed later
- array('module.add', array(
- 'acp',
- 'ACP_CAT_STYLES',
- 'ACP_EXTENSION_MANAGEMENT'
- )),
- array('module.add', array(
- 'acp',
- 'ACP_EXTENSION_MANAGEMENT',
- array(
- 'module_basename' => 'acp_extensions',
- 'modes' => array('main'),
- ),
- )),
- array('permission.add', array('a_extensions', true, 'a_styles')),
- );
- }
-}