Commit fc445eae authored by Jérome Perrin's avatar Jérome Perrin

Update doc, this script no longer raises but return None

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32481 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 28c8eee8
......@@ -53,10 +53,8 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>"""\n
Find and return Person object for current logged in user.\n
XXX: if current logged in user is defined in Zope\'s root\n
acl_folder script will raise ValueError. \n
<value> <string>"""Find and returns Person object for current logged in user.\n
Returns None if no corresponding person, for example when not using ERP5Security.ERP5UserManager.\n
"""\n
if user_name is None:\n
user_name = context.portal_membership.getAuthenticatedMember()\n
......
674
\ No newline at end of file
675
\ No newline at end of file
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