Commit 4a258fa5 authored by Marius Burkard's avatar Marius Burkard
Browse files

- added missing remoting function (server_get_app_version)

parent 198271a3
......@@ -208,6 +208,20 @@ class remoting_server extends remoting {
}
}
public function server_get_app_version($session_id)
{
global $app;
if(!$this->checkPerm($session_id, 'server_get')) {
$this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
if (!empty($session_id)) {
$ispc_app_version = array('ispc_app_version' => ISPC_APP_VERSION);
return $ispc_app_version;
} else {
return false;
}
}
}
?>
Markdown is supported
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