Skip to content

Commit

Permalink
refactor(db): remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed May 6, 2023
1 parent 9774724 commit 420d65e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ def get_played_games(self, user_id):

return int(result["games_played"])

def get_all_users(self):
self.cursor.execute("SELECT rowid, * FROM users;")
return self.cursor.fetchall()

@Cache(timeout=60)
def get_admins(self):
self.cursor.execute("SELECT user_id from admins;")
Expand Down

0 comments on commit 420d65e

Please sign in to comment.