• Vincent Pelletier's avatar
    Stop calling deprecated ERP5Site_getAuthenticatedMemberPersonValue. · ebbed4e7
    Vincent Pelletier authored
    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.
    ebbed4e7
testERP5Web.py 88.9 KB