Module: nagvis Branch: master Commit: 371de7d5e851c79e353115399efe8a712cd0d2f1 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=371de7d5e851c79e353115399efe8a712cd0d2f1
Author: LaMi <[email protected]> Date: Sat Apr 10 00:17:51 2010 +0200 Removed unneeded icon fetching --- share/server/core/classes/objects/NagVisMapObj.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/share/server/core/classes/objects/NagVisMapObj.php b/share/server/core/classes/objects/NagVisMapObj.php index a5e74a0..b803cbc 100644 --- a/share/server/core/classes/objects/NagVisMapObj.php +++ b/share/server/core/classes/objects/NagVisMapObj.php @@ -280,9 +280,10 @@ class NagVisMapObj extends NagVisStatefulObject { $OBJ->fetchState(GET_STATE, DONT_GET_SINGLE_MEMBER_STATES); } else { $OBJ->fetchState(); - } - $OBJ->fetchIcon(); + // The icon is only needed when this is a view + $OBJ->fetchIcon(); + } } // Also get summary state ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
