Costometic cleanup

This commit is contained in:
snipe 2016-09-20 00:45:25 -07:00
parent 0962d770cf
commit 3aa7c60765

View file

@ -36,7 +36,7 @@ class Actionlog extends Model implements ICompanyableChild
public function itemType()
{
// dd($this);
if($this->item_type == AssetModel::class) {
return "model";
}
@ -45,7 +45,6 @@ class Actionlog extends Model implements ICompanyableChild
public function uploads()
{
return $this->morphTo('item')
->where('action_type', '=', 'uploaded')
->withTrashed();