[ZBX-6689] Unused code in getItemFormData() Created: 2013 Jun 11 Updated: 2017 May 30 Resolved: 2013 Jun 17 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.1.0 |
Fix Version/s: | 2.1.0 |
Type: | Incident report | Priority: | Minor |
Reporter: | Pavels Jelisejevs (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | codequality, frontend, itemconfigform | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
In forms.inc.php:1210 in the getItemFormData() function there's a block of code, that returns the available host groups. They don't seem to be used anywhere after. // host groups This code should be removed. |
Comments |
Comment by Ivo Kurzemnieks [ 2013 Jun 17 ] |
Checked and seems like it was unused. RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6689 |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jun 17 ] |
TESTED. |
Comment by Ivo Kurzemnieks [ 2013 Jun 17 ] |
Fixed in pre-2.0.1 (trunk) r36412 |