Przeglądaj źródła

Update status model

Daniel Supernault 2 lat temu
rodzic
commit
8bcf3700ba
1 zmienionych plików z 1 dodań i 18 usunięć
  1. 1 18
      app/Status.php

+ 1 - 18
app/Status.php

@@ -28,24 +28,7 @@ class Status extends Model
 	 */
 	protected $dates = ['deleted_at'];
 
-	protected $fillable = [
-		'scope',
-		'caption',
-		'rendered',
-		'url',
-		'uri',
-		'object_url',
-		'created_at',
-		'local',
-		'is_nsfw',
-		'scope',
-		'cw_summary',
-		'profile_id',
-		'visibility',
-		'in_reply_to_id',
-		'reblog_of_id',
-		'type'
-	];
+	protected $guarded = [];
 
 	const STATUS_TYPES = [
 		'text',