mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
models.account_type: remove duplicated constants
Clearly made in mistake, removing to keep things organized. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
a72ab61902
commit
f147ef3476
1 changed files with 0 additions and 6 deletions
|
@ -28,12 +28,6 @@ class AccountType(Base):
|
||||||
self.ID, str(self))
|
self.ID, str(self))
|
||||||
|
|
||||||
|
|
||||||
# Define some AccountType.AccountType constants.
|
|
||||||
USER = "User"
|
|
||||||
TRUSTED_USER = "Trusted User"
|
|
||||||
DEVELOPER = "Developer"
|
|
||||||
TRUSTED_USER_AND_DEV = "Trusted User & Developer"
|
|
||||||
|
|
||||||
# Fetch account type IDs from the database for constants.
|
# Fetch account type IDs from the database for constants.
|
||||||
_account_types = db.query(AccountType)
|
_account_types = db.query(AccountType)
|
||||||
USER_ID = _account_types.filter(
|
USER_ID = _account_types.filter(
|
||||||
|
|
Loading…
Add table
Reference in a new issue