diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-19 23:22:14 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-19 23:22:14 +0100 |
commit | e1927e427125a93a8f6ea369b760f7f21f879fcc (patch) | |
tree | 5a6ae69172fef51da1f6e4df2c7b869977f7b17d /module/database | |
parent | encoding fixes (diff) | |
download | pyload-e1927e427125a93a8f6ea369b760f7f21f879fcc.tar.xz |
new permission system
Diffstat (limited to 'module/database')
-rw-r--r-- | module/database/UserDatabase.py | 2 |
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) |