Stop calling deprecated ERP5Site_getAuthenticatedMemberPersonValue.
git grep -l ERP5Site_getAuthenticatedMemberPersonValue | xargs sed -i 's!\.ERP5Site_getAuthenticatedMemberPersonValue()!.getPortalObject().portal_membership.getAuthenticatedMember().getUserValue()!g' Plus s/portal.getPortalObject()/portal/g where modified by above regex. Plus manual edits of the few remaining matches. Special mention for DiscussionThreadModule_addReply, which forgot to actually call the script.
Showing
Please register or sign in to comment