PDA

View Full Version : Suspend command will also unsuspend if currently suspended


floyd
08-15-2007, 12:43 PM
RE: http://www.directadmin.com/api.html#suspend

Whether you use Suspend or Unsuspend the command will reverse whatever the current status is. If an account is already suspended and you send the Suspend command it will unsuspend the account. The same is true of Unsuspend.

This really needs to be fixed because WHMCS (and maybe some others) uses this API to Suspend/Unsuspend accounts and if an admin in the billing software clicks one of those commands two times he has really done the opposite of what was intended.

DirectAdmin Support
08-16-2007, 06:38 PM
Hello,

WHMCS has actually sent us an email about this, and it's in the versions system. I'll add seperate buttons, and seperate commands for the API to clarify things. Available for the next release of DA.

http://www.directadmin.com/features.php?id=807

John