Commits

Donald Stufft committed caa6896

Fix merge users

  • Participants
  • Parent commits 762a718

Comments (0)

Files changed (1)

     c.execute('update comments set user_name=%s where user_name=%s', (new, old))
     c.execute('update ratings set user_name=%s where user_name=%s', (new, old))
     c.execute('update comments_journal set submitted_by=%s where submitted_by=%s', (new, old))
-    c.execute('delete from users where name=%s', (old,))
+    c.execute('delete from accounts_user where username=%s', (old,))
 
 def rename_user(store, old, new):
     c = store.get_cursor()