summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-19 23:22:14 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-19 23:22:14 +0100
commite1927e427125a93a8f6ea369b760f7f21f879fcc (patch)
tree5a6ae69172fef51da1f6e4df2c7b869977f7b17d /module/database
parentencoding fixes (diff)
downloadpyload-e1927e427125a93a8f6ea369b760f7f21f879fcc.tar.xz
new permission system
Diffstat (limited to 'module/database')
-rw-r--r--module/database/UserDatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/database/UserDatabase.py b/module/database/UserDatabase.py
index 6137581ed..d2809fcea 100644
--- a/module/database/UserDatabase.py
+++ b/module/database/UserDatabase.py
@@ -84,7 +84,7 @@ class UserMethods():
@style.queue
def removeUser(db, user):
- c.execute('DELETE FROM users WHERE name=?', (user, ))
+ db.c.execute('DELETE FROM users WHERE name=?', (user, ))
DatabaseBackend.registerSub(UserMethods)