2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the call "set_update_agent" because before the call get the id_server but this data never was translated to name_server. And added id_server into the call "get_pandora_servers" in the last position. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
700f0a8055
commit
091ed258dd
|
@ -1,3 +1,10 @@
|
||||||
|
2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_api.php: fixed the call "set_update_agent"
|
||||||
|
because before the call get the id_server but this data never
|
||||||
|
was translated to name_server. And added id_server into the call
|
||||||
|
"get_pandora_servers" in the last position.
|
||||||
|
|
||||||
2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
|
2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_api.php: restored the parameter name server in
|
* include/functions_api.php: restored the parameter name server in
|
||||||
|
|
|
@ -757,7 +757,7 @@ function api_set_update_agent($id_agent, $thrash2, $other, $thrash3) {
|
||||||
$cascadeProtection = $other['data'][4];
|
$cascadeProtection = $other['data'][4];
|
||||||
$intervalSeconds = $other['data'][5];
|
$intervalSeconds = $other['data'][5];
|
||||||
$idOS = $other['data'][6];
|
$idOS = $other['data'][6];
|
||||||
$idServer = $other['data'][7];
|
$nameServer = $other['data'][7];
|
||||||
$customId = $other['data'][8];
|
$customId = $other['data'][8];
|
||||||
$learningMode = $other['data'][9];
|
$learningMode = $other['data'][9];
|
||||||
$disabled = $other['data'][10];
|
$disabled = $other['data'][10];
|
||||||
|
@ -6666,7 +6666,8 @@ function api_get_pandora_servers($trash1, $trash2, $other, $returnType) {
|
||||||
'module_lag' => $server["module_lag"],
|
'module_lag' => $server["module_lag"],
|
||||||
'threads' => $server["threads"],
|
'threads' => $server["threads"],
|
||||||
'queued_modules' => $server["queued_modules"],
|
'queued_modules' => $server["queued_modules"],
|
||||||
'keepalive' => $server['keepalive']
|
'keepalive' => $server['keepalive'],
|
||||||
|
'id_server' => $server['id_server']
|
||||||
);
|
);
|
||||||
|
|
||||||
// servers_get_info() returns "<a http:....>servername</a>" for recon server's name.
|
// servers_get_info() returns "<a http:....>servername</a>" for recon server's name.
|
||||||
|
|
Loading…
Reference in New Issue