mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-14 12:40:13 +01:00
Merge pull request #6404 from marc1706/ticket/17019
[ticket/17019] Treat removed youtube profile field as effectively installed
This commit is contained in:
commit
fafe250b0d
@ -30,7 +30,7 @@ class profilefield_youtube_update extends \phpbb\db\migration\migration
|
||||
$row = $this->db->sql_fetchrow($result);
|
||||
$this->db->sql_freeresult($result);
|
||||
|
||||
return $row['field_validation'] === $this->youtube_url_matcher;
|
||||
return !$row || $row['field_validation'] === $this->youtube_url_matcher;
|
||||
}
|
||||
|
||||
public static function depends_on()
|
||||
|
Loading…
x
Reference in New Issue
Block a user