Module: nagvis Branch: master Commit: afebf2eb9be669a2ab9eb1dc2b9046fad4c1bdff URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=afebf2eb9be669a2ab9eb1dc2b9046fad4c1bdff
Author: Roman Kyrylych <[email protected]> Date: Tue Aug 11 17:02:17 2009 +0300 gmap: Added missing -> when calling own methods from Database class Signed-off-by: Roman Kyrylych <[email protected]> --- share/netmap/Database.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/netmap/Database.php b/share/netmap/Database.php index a067e4e..9c3f7fc 100644 --- a/share/netmap/Database.php +++ b/share/netmap/Database.php @@ -182,7 +182,7 @@ class Database $state = Location::STATE_UNKNOWN; foreach ($hosts as $host) - $state = max($state, getHostState($host)); + $state = max($state, $this->getHostState($host)); return $state; } @@ -196,7 +196,7 @@ class Database $state = Location::STATE_UNKNOWN; foreach ($services as $service) - $state = max($state, getServiceState($service['host_name'], $service['service_description'])); + $state = max($state, $this->getServiceState($service['host_name'], $service['service_description'])); return $state; } ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
