mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-03 22:27:54 +02:00
[ticket/13121] Fix migration file
PHPBB3-13121
This commit is contained in:
parent
65539df39a
commit
1ee4894271
@ -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()
|
Loading…
x
Reference in New Issue
Block a user