From 7ad630ceab73e3ffaac34a773e7e747a22a120e6 Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Sun, 4 Aug 2024 17:27:26 +0200 Subject: [PATCH] =?UTF-8?q?fix=20funzione=20gi=C3=A0=20implementata=20su?= =?UTF-8?q?=20master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/app/User.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/code/app/User.php b/code/app/User.php index cf12194a..c44856f3 100644 --- a/code/app/User.php +++ b/code/app/User.php @@ -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');