Skip to content

Commit

Permalink
fix funzione già implementata su master
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Aug 4, 2024
1 parent efaac73 commit 7ad630c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions code/app/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ public function scopeFilterEnabled($query)
}
}

public function scopeTopLevel($query)
{
return $query->whereNull('parent_id');
}

public function scopeSorted($query)
{
return $query->orderBy('lastname', 'asc')->orderBy('firstname', 'asc');
Expand Down

0 comments on commit 7ad630c

Please sign in to comment.