소스 검색

Update status model

Daniel Supernault 2 년 전
부모
커밋
8bcf3700ba
1개의 변경된 파일1개의 추가작업 그리고 18개의 파일을 삭제
  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',