Browse Source

Update Status model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
751ccecd2e
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      app/Status.php

+ 0 - 2
app/Status.php

@@ -65,7 +65,6 @@ class Status extends Model
         return $this->hasMany(Media::class)->orderBy('order', 'asc')->first();
         return $this->hasMany(Media::class)->orderBy('order', 'asc')->first();
     }
     }
 
 
-    // todo: deprecate after 0.6.0
     public function viewType()
     public function viewType()
     {
     {
         if($this->type) {
         if($this->type) {
@@ -74,7 +73,6 @@ class Status extends Model
         return $this->setType();
         return $this->setType();
     }
     }
 
 
-    // todo: deprecate after 0.6.0
     public function setType()
     public function setType()
     {
     {
         if(in_array($this->type, self::STATUS_TYPES)) {
         if(in_array($this->type, self::STATUS_TYPES)) {