To test a service method, I'm executing it in my init function. The method adds a row to the database table with a mail address and variant id:
However, when I refresh a page in the control page to execute the plugin init function 2, or sometimes 3 rows are being added to the database table.
Is this the default behaviour and if not, how can I fix it?
Thanks in advance, Sam