aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-10-01 00:29:45 -0700
committerMatt Friedman <maf675@gmail.com>2014-10-01 00:29:45 -0700
commit1ee48942719500f128fd40d6ae60561174204954 (patch)
tree0448790314a6c9df1548ba9cd895b2c52f24e021 /phpBB/phpbb/db
parent65539df39a2649427f4208b836a65f2d8ca7b4b3 (diff)
downloadforums-1ee48942719500f128fd40d6ae60561174204954.tar
forums-1ee48942719500f128fd40d6ae60561174204954.tar.gz
forums-1ee48942719500f128fd40d6ae60561174204954.tar.bz2
forums-1ee48942719500f128fd40d6ae60561174204954.tar.xz
forums-1ee48942719500f128fd40d6ae60561174204954.zip
[ticket/13121] Fix migration file
PHPBB3-13121
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/migration/data/v310/remove_acp_styles_cache.php (renamed from phpBB/phpbb/db/migration/data/v310/acp_style_cache_module.php)6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/acp_style_cache_module.php b/phpBB/phpbb/db/migration/data/v310/remove_acp_styles_cache.php
index a922a7cb78..7b84539814 100644
--- a/phpBB/phpbb/db/migration/data/v310/acp_style_cache_module.php
+++ b/phpBB/phpbb/db/migration/data/v310/remove_acp_styles_cache.php
@@ -13,7 +13,7 @@
namespace phpbb\db\migration\data\v310;
-class acp_style_cache_module extends \phpbb\db\migration\migration
+class remove_acp_styles_cache extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
@@ -25,12 +25,12 @@ class acp_style_cache_module extends \phpbb\db\migration\migration
$module_id = $this->db->sql_fetchfield('module_id');
$this->db->sql_freeresult($result);
- return $module_id == false;
+ return !$module_id;
}
static public function depends_on()
{
- return array('\phpbb\db\migration\data\v310\dev');
+ return array('\phpbb\db\migration\data\v310\rc4');
}
public function update_data()