mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Costometic cleanup
This commit is contained in:
parent
0962d770cf
commit
3aa7c60765
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue