From e1927e427125a93a8f6ea369b760f7f21f879fcc Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 19 Feb 2011 23:22:14 +0100 Subject: new permission system --- module/database/UserDatabase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/database/UserDatabase.py') 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) -- cgit v1.2.3