mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 20:58:55 +00:00
[ticket/17019] Treat removed youtube profile field as effectively installed
PHPBB3-17019
This commit is contained in:
parent
2f72950d2d
commit
b5d2ff4074
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class profilefield_youtube_update extends \phpbb\db\migration\migration
|
||||||
$row = $this->db->sql_fetchrow($result);
|
$row = $this->db->sql_fetchrow($result);
|
||||||
$this->db->sql_freeresult($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()
|
public static function depends_on()
|
||||||
|
|
Loading…
Add table
Reference in a new issue