]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Role.php
Revised role index list to align with user list
[bookstack] / app / Auth / Role.php
index 17a4edcc020b0a84c5e1da880d364747069e2abc..b293d1af256aabd1d01574c4732ad729c698401a 100644 (file)
@@ -110,14 +110,6 @@ class Role extends Model implements Loggable
         return static::query()->where('system_name', '=', $systemName)->first();
     }
 
-    /**
-     * Get all visible roles.
-     */
-    public static function visible(): Collection
-    {
-        return static::query()->where('hidden', '=', false)->orderBy('name')->get();
-    }
-
     /**
      * {@inheritdoc}
      */