Changeset 13182


Ignore:
Timestamp:
22 Jul 2015, 04:51:54 (9 years ago)
Author:
Henrik Bettermann
Message:

delEntry was not implemented. Test is still missing!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/authentication.py

    r13181 r13182  
    495495        return
    496496
     497    def delEntry(self, row, site):
     498        user = self.getEntry(row, site)
     499        if user is not None:
     500            parent = self.getParent(row, site)
     501            grok.getSite().logger.info('%s - %s - User removed'
     502                % (self.name, row['name']))
     503            del parent[user.name]
     504        pass
     505
    497506    def updateEntry(self, obj, row, site, filename):
    498507        """Update obj to the values given in row.
Note: See TracChangeset for help on using the changeset viewer.