Jump to content

PreModule... hook abortcmd doesn't work


hvr

Recommended Posts

Hello,

 

I am trying to abort termination of active accounts (an send an email alert) and the abortcmd doesn't work. I am using the code available on docs http://docs.whmcs.com/Hooks:PreModuleTerminate

 

$return = array();

$return[] = array("abortcmd"=>true);

return $return;

 

The hook is running as I am able to send alert email or perform other tasks but the account is terminated and activity logged despite of returning abortcmd.

 

 

Flaviu

Link to comment
Share on other sites

  • 7 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated