mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/13121] Fix migration file
PHPBB3-13121
This commit is contained in:
@@ -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()
|
Reference in New Issue
Block a user