diff options
author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-03 12:01:36 +0000 |
---|---|---|
committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-03 12:01:36 +0000 |
commit | c3d3eaea01e691748c2d2b875bb5326e9e494047 (patch) | |
tree | f663f87c81c7b5588f94d5064f17252517c5168c /src/libs/zbxdbhigh/db.c | |
parent | 62d85d6dedace6ef9470bc2d8ff394df18f71bf2 (diff) | |
download | zabbix-c3d3eaea01e691748c2d2b875bb5326e9e494047.tar.gz zabbix-c3d3eaea01e691748c2d2b875bb5326e9e494047.tar.xz zabbix-c3d3eaea01e691748c2d2b875bb5326e9e494047.zip |
- [DEV-173] added support of notification escalations on server side
git-svn-id: svn://svn.zabbix.com/trunk@5748 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdbhigh/db.c')
-rw-r--r-- | src/libs/zbxdbhigh/db.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libs/zbxdbhigh/db.c b/src/libs/zbxdbhigh/db.c index 1a7c609c..59a99216 100644 --- a/src/libs/zbxdbhigh/db.c +++ b/src/libs/zbxdbhigh/db.c @@ -1582,14 +1582,13 @@ int DBstart_escalation(zbx_uint64_t actionid, zbx_uint64_t triggerid, zbx_uint64 return SUCCEED; } -int DBstop_escalation(zbx_uint64_t actionid, zbx_uint64_t triggerid, zbx_uint64_t eventid) +int DBstop_escalation(zbx_uint64_t actionid, zbx_uint64_t triggerid) { DBexecute("update escalations set status=%d,nextcheck=0 where actionid=" ZBX_FS_UI64 - " and triggerid=" ZBX_FS_UI64 " and eventid = " ZBX_FS_UI64, + " and triggerid=" ZBX_FS_UI64, ESCALATION_STATUS_RECOVERY, actionid, - triggerid, - eventid); + triggerid); return SUCCEED; } |