Revert "Change File model to use fillable as opposed to guardable attributes"

This reverts commit abfe156d8d18483f265a264c9769063cbfde8ba2.
This commit is contained in:
Ben Thomson 2020-08-10 09:17:32 +08:00
parent abfe156d8d
commit 8bc440defa
No known key found for this signature in database
GPG Key ID: E2B9C73B52D15AA0

View File

@ -20,26 +20,6 @@ class File extends FileBase
*/
protected $table = 'system_files';
/**
* @var array The attributes that are mass assignable.
*/
protected $fillable = [
'file_name',
'title',
'description',
'field',
'attachment_id',
'attachment_type',
'is_public',
'sort_order',
'data',
];
/**
* @var array The attributes that aren't mass assignable.
*/
protected $guarded = [];
/**
* {@inheritDoc}
*/