Changeset 1531

Show
Ignore:
Timestamp:
06/08/04 19:44:43 (20 years ago)
Author:
jalet
Message:

Payment now gets deleted when the user is deleted

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/sql.py

    r1522 r1531  
    2222# 
    2323# $Log$ 
     24# Revision 1.42  2004/06/08 17:44:43  jalet 
     25# Payment now gets deleted when the user is deleted 
     26# 
    2427# Revision 1.41  2004/06/05 22:03:50  jalet 
    2528# Payments history is now stored in database 
     
    433436        # TODO : incorrectly charged (overcharged). 
    434437        for q in [  
     438                    "DELETE FROM payments WHERE userid=%s" % self.doQuote(user.ident), 
    435439                    "DELETE FROM groupsmembers WHERE userid=%s" % self.doQuote(user.ident), 
    436440                    "DELETE FROM jobhistory WHERE userid=%s" % self.doQuote(user.ident),