Commit 351405d0 authored by Sebastien Robin's avatar Sebastien Robin

the security declaration of log was missing

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9372 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7476d220
No related merge requests found
...@@ -2125,6 +2125,7 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): ...@@ -2125,6 +2125,7 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
def _temp_getTitle(self): def _temp_getTitle(self):
return getattr(self,'title',None) return getattr(self,'title',None)
security.declarePublic('log')
def log(self, subsystem, message, level=INFO): def log(self, subsystem, message, level=INFO):
"""Put a log message """ """Put a log message """
LOG(subsystem, level, message) LOG(subsystem, level, message)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment