Ignore:
Timestamp:
6 May 2009, 07:48:28 (16 years ago)
Author:
uli
Message:

Make deletion of users work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/users.py

    r4113 r4115  
    4141        if edit is not None and userid is not None:
    4242            self.redirect(self.url(userid))
    43        
     43        if delete is not None and userid is not None:
     44            self.context.delUser(userid)
     45            self.flash('User %s successfully deleted.' % userid)
     46           
    4447    def render(self, *args, **kw):
    4548        return super(UserContainerView, self).render(*args, **kw)
Note: See TracChangeset for help on using the changeset viewer.