|
@@ -93,10 +93,10 @@ function zimbraSingle_UnsuspendAccount($params)
|
|
|
function zimbraSingle_TerminateAccount($params)
|
|
function zimbraSingle_TerminateAccount($params)
|
|
|
{
|
|
{
|
|
|
$response = zimbraSingleDeleteAccount($params['customfields']);
|
|
$response = zimbraSingleDeleteAccount($params['customfields']);
|
|
|
- if($response) {
|
|
|
|
|
|
|
+ if($response == 'success') {
|
|
|
return 'success';
|
|
return 'success';
|
|
|
}
|
|
}
|
|
|
- return 'Error deleting account';
|
|
|
|
|
|
|
+ return $response;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function zimbraSingle_ChangePackage($params)
|
|
function zimbraSingle_ChangePackage($params)
|