Skip to content
Snippets Groups Projects
Commit 4a258fa5 authored by Marius Burkard's avatar Marius Burkard
Browse files

- added missing remoting function (server_get_app_version)

parent 198271a3
No related branches found
No related tags found
No related merge requests found
...@@ -208,6 +208,20 @@ class remoting_server extends remoting { ...@@ -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;
}
}
} }
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment