Commit 596e30c0 authored by Tommaso Basilici's avatar Tommaso Basilici
Browse files

Update client.inc.php

parent d08b278d
...@@ -245,12 +245,12 @@ class remoting_client extends remoting { ...@@ -245,12 +245,12 @@ class remoting_client extends remoting {
$app->remoting_lib->ispconfig_sysuser_update($params, $client_id); $app->remoting_lib->ispconfig_sysuser_update($params, $client_id);
// if canceled // if canceled
if ($params['canceled']) { if ($params['canceled']) {
$result = functions::func_client_cancel($client_id, $params['canceled']); $result = $app->functions->func_client_cancel($client_id, $params['canceled']);
} }
// if locked // if locked
if ($params['locked']) { if ($params['locked']) {
$result = functions::func_client_lock($client_id, $params['locked']); $result = $app->functions->func_client_lock($client_id, $params['locked']);
} }
return $affected_rows; return $affected_rows;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment