aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-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()