diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-02 14:30:09 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-02 14:30:09 +0000 |
| commit | 5160f49d9546dc4a33fff23e75b03b5ac13de570 (patch) | |
| tree | 6ca1d0e6dd639e25aa4d5d2bed4cc2bcc0593c8b /frontends/php/include/maps.inc.php | |
| parent | 674c41240eec523885688bed0a649548ac9b2086 (diff) | |
| download | zabbix-5160f49d9546dc4a33fff23e75b03b5ac13de570.tar.gz zabbix-5160f49d9546dc4a33fff23e75b03b5ac13de570.tar.xz zabbix-5160f49d9546dc4a33fff23e75b03b5ac13de570.zip | |
- added deletion from favorites on deleting items,graphs,screens,maps.. (Artem)
- changes resources for favorites (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5579 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/maps.inc.php')
| -rw-r--r-- | frontends/php/include/maps.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php index d598ba76..098484ed 100644 --- a/frontends/php/include/maps.inc.php +++ b/frontends/php/include/maps.inc.php @@ -199,6 +199,9 @@ $result = DBexecute("delete from sysmaps_elements where sysmapid=$sysmapid"); if(!$result) return $result; + + $result = rm4favorites('web.favorite.sysmapids',$sysmapd,ZBX_FAVORITES_ALL,'sysmapid'); + if(!$result) return $result; return DBexecute("delete from sysmaps where sysmapid=$sysmapid"); } |
