From 8bc440defa83c93d6e4c34582cfccfb5ff5f6e9a Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Mon, 10 Aug 2020 09:17:32 +0800 Subject: [PATCH] Revert "Change File model to use fillable as opposed to guardable attributes" This reverts commit abfe156d8d18483f265a264c9769063cbfde8ba2. --- modules/system/models/File.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/modules/system/models/File.php b/modules/system/models/File.php index 4bc33ae74..ffca84afb 100644 --- a/modules/system/models/File.php +++ b/modules/system/models/File.php @@ -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} */