[API] client update doesnt disable websites and logging in
short description
Client update is not working correctly. It doesnt create cron tasks to disable client login and websites like manual edit in control panel.
$this->ispconfigApi->clientUpdate($hosting->getCustomerId(), $resellerId, [
'locked' => 'y',
'canceled' => 'y',
]);
This API call updates client (activates checkboxes and show client as locked) but client can still log in and sites are working.
correct behaviour
API update should work same as client edit in ISPCONFIG. It should disable client's websites and block an account if canceled = y.
environment
Server OS: Debian Server OS version: wheezy ISPConfig version: 3.1.13
Edited by Not Mine