Remove passing in record

This commit is contained in:
Christopher Joe 2018-02-14 14:00:04 +13:00
parent 01514490fe
commit e05c47a550

View File

@ -35,7 +35,7 @@ class SiteTreeFileFormFactoryExtension extends DataExtension
/** @var File|SiteTreeFileExtension|RecursivePublishable $record */
$record = $context['Record'];
$usedOnField = UsedOnTable::create('UsedOnTableReplacement', $record);
$usedOnField = UsedOnTable::create('UsedOnTableReplacement');
// Add field to new tab
/** @var Tab $tab */