Set intro.blocked to deprecated

This commit is contained in:
Philipp 2021-10-19 21:30:09 +02:00
parent bf0782dc6b
commit ed184bd592
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
7 changed files with 14 additions and 14 deletions

View file

@ -44,7 +44,6 @@ class Introduction extends BaseFactory implements ICanCreateFromTableRow
$row['note'] ?? '',
$row['hash'] ?? '',
new \DateTime($row['datetime'] ?? 'now', new \DateTimeZone('UTC')),
!empty($row['blocked']),
!empty($row['ignore']),
$row['id'] ?? null
);
@ -69,7 +68,6 @@ class Introduction extends BaseFactory implements ICanCreateFromTableRow
'note' => $note,
'hash' => Strings::getRandomHex(),
'datetime' => DateTimeFormat::utcNow(),
'blocked' => false,
'ignore' => false,
]);
}