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:
parent
91c657238d
commit
6473ca8ef0
3 changed files with 34 additions and 2 deletions
|
@ -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')
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue