From 16d6dc2e7101aba6c08183f2acca2592ec8e04f5 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Thu, 3 Oct 2013 21:09:02 +0530 Subject: [PATCH] [ticket/11344] Upgrade migration to namespaces PHPBB3-11344 --- .../data/{310 => v310}/acp_style_components_module.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename phpBB/phpbb/db/migration/data/{310 => v310}/acp_style_components_module.php (80%) diff --git a/phpBB/phpbb/db/migration/data/310/acp_style_components_module.php b/phpBB/phpbb/db/migration/data/v310/acp_style_components_module.php similarity index 80% rename from phpBB/phpbb/db/migration/data/310/acp_style_components_module.php rename to phpBB/phpbb/db/migration/data/v310/acp_style_components_module.php index cefaf7c452..9f168f4fd6 100644 --- a/phpBB/phpbb/db/migration/data/310/acp_style_components_module.php +++ b/phpBB/phpbb/db/migration/data/v310/acp_style_components_module.php @@ -7,7 +7,9 @@ * */ -class phpbb_db_migration_data_310_acp_style_components_module extends phpbb_db_migration +namespace phpbb\db\migration\data\v310; + +class acp_style_components_module extends \phpbb\db\migration\migration { public function effectively_installed() { @@ -24,7 +26,7 @@ class phpbb_db_migration_data_310_acp_style_components_module extends phpbb_db_m static public function depends_on() { - return array('phpbb_db_migration_data_310_dev'); + return array('\phpbb\db\migration\data\v310\dev'); } public function update_data()