function update_httptest($httptestid, $hostid, $application, $name, $delay, $status, $agent, $macros, $steps) { $result = db_save_httptest($httptestid, $hostid, $application, $name, $delay, $status, $agent, $macros, $steps); if ($result) { info("Sceanrio '" . $name . "' updated"); } return $result; }
function update_httptest($httptestid, $hostid, $application, $name, $authentication, $http_user, $http_password, $delay, $status, $agent, $macros, $steps) { $result = db_save_httptest($httptestid, $hostid, $application, $name, $authentication, $http_user, $http_password, $delay, $status, $agent, $macros, $steps); if ($result) { info(S_SCENARIO . SPACE . "'" . $name . "'" . SPACE . S_UPDATED_SMALL); } return $result; }