appy.gen: implemented ToolMixin.performLogin (inspired from Plone authentication), minor bugfix while redirecting user to a page that must display a global status message; logged every translation deletion.

This commit is contained in:
Gaetan Delannay 2011-02-15 15:59:55 +01:00
parent 91c657238d
commit 6473ca8ef0
3 changed files with 34 additions and 2 deletions

View file

@ -72,5 +72,6 @@ class TranslationWrapper(AbstractWrapper):
def onDelete(self):
# Call a custom "onDelete" if any.
self.log('Translation "%s" deleted by "%s".' % (self.id, self.user.id))
return self._callCustom('onDelete')
# ------------------------------------------------------------------------------