mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/13121] Fix migration file
PHPBB3-13121
This commit is contained in:
parent
65539df39a
commit
1ee4894271
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
namespace phpbb\db\migration\data\v310;
|
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()
|
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');
|
$module_id = $this->db->sql_fetchfield('module_id');
|
||||||
$this->db->sql_freeresult($result);
|
$this->db->sql_freeresult($result);
|
||||||
|
|
||||||
return $module_id == false;
|
return !$module_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function depends_on()
|
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()
|
public function update_data()
|
Loading…
Add table
Reference in a new issue