mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Pass at removing extraneous permissions table and using native MySQL JSON
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Pterodactyl\Repositories\Eloquent;
|
||||
|
||||
use Pterodactyl\Models\Permission;
|
||||
use Exception;
|
||||
use Pterodactyl\Contracts\Repository\PermissionRepositoryInterface;
|
||||
|
||||
class PermissionRepository extends EloquentRepository implements PermissionRepositoryInterface
|
||||
@@ -11,9 +11,10 @@ class PermissionRepository extends EloquentRepository implements PermissionRepos
|
||||
* Return the model backing this repository.
|
||||
*
|
||||
* @return string
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function model()
|
||||
{
|
||||
return Permission::class;
|
||||
throw new Exception('This functionality is not implemented.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user