Commit 3dad9bf1 authored by Łukasz Nowak's avatar Łukasz Nowak

Avoid double creation in one transaction.

parent 88d5db4c
......@@ -54,6 +54,10 @@
from DateTime import DateTime\n
\n
if context.REQUEST.get(\'Base_createOauth2User\') is not None:\n
return\n
\n
context.REQUEST.set(\'Base_createOauth2User\', 1)\n
portal = context.getPortalObject()\n
\n
if portal.portal_activities.countMessageWithTag(tag) > 0:\n
......
467
\ No newline at end of file
468
\ 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