mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Remove passing in record
This commit is contained in:
parent
01514490fe
commit
e05c47a550
@ -35,7 +35,7 @@ class SiteTreeFileFormFactoryExtension extends DataExtension
|
|||||||
/** @var File|SiteTreeFileExtension|RecursivePublishable $record */
|
/** @var File|SiteTreeFileExtension|RecursivePublishable $record */
|
||||||
$record = $context['Record'];
|
$record = $context['Record'];
|
||||||
|
|
||||||
$usedOnField = UsedOnTable::create('UsedOnTableReplacement', $record);
|
$usedOnField = UsedOnTable::create('UsedOnTableReplacement');
|
||||||
|
|
||||||
// Add field to new tab
|
// Add field to new tab
|
||||||
/** @var Tab $tab */
|
/** @var Tab $tab */
|
||||||
|
Loading…
Reference in New Issue
Block a user