Update Status model

pull/1388/head
Daniel Supernault 2019-06-12 13:21:22 -06:00
rodzic 37289f7935
commit 751ccecd2e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

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