Event handler function being called twice

Event handler function being called twice

by Ross Smith -
Number of replies: 1

Hi,

We're writting a module and all our event handlers are being called twice, I can not figure out why, would anyone have any ideas what might be causing this?

On the events.php, what does 'internal' mean?  We took that from the documentation, but that's not really explained in documentation.

Any help would be greatly appreciated.

Thanks.

 

Average of ratings: -
In reply to Ross Smith

Re: Event handler function being called twice

by Ross Smith -

I have no clue what was causing this, but worked around the issue by changing the events.php to run on 'cron' instead of 'instant'.  Seem to only be called once when be called from cron.