mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Remove unused descriptionFrom property
Removes unused descriptionFrom property that was probably copy-pasta remnants from the RecordFinder formwidget when nameFrom was implemented in6aaf4cce43
. Also removed it from the docs here:6164e4a9e7
This commit is contained in:
parent
2a16847724
commit
9ff11da179
@ -28,11 +28,6 @@ class Relation extends FormWidgetBase
|
||||
*/
|
||||
public $nameFrom = 'name';
|
||||
|
||||
/**
|
||||
* @var string Model column to use for the description reference
|
||||
*/
|
||||
public $descriptionFrom = 'description';
|
||||
|
||||
/**
|
||||
* @var string Custom SQL column selection to use for the name reference
|
||||
*/
|
||||
@ -69,7 +64,6 @@ class Relation extends FormWidgetBase
|
||||
{
|
||||
$this->fillFromConfig([
|
||||
'nameFrom',
|
||||
'descriptionFrom',
|
||||
'emptyOption',
|
||||
'scope',
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user