Module: nagvis Branch: master Commit: 847322ec1df388d82efc1c5f85c7f8060d47fefd URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=847322ec1df388d82efc1c5f85c7f8060d47fefd
Author: Roman Kyrylych <[email protected]> Date: Tue Aug 25 12:49:59 2009 +0300 gmap: Removed validation from Viewpoint constructor Signed-off-by: Roman Kyrylych <[email protected]> --- share/netmap/Viewpoint.php | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/share/netmap/Viewpoint.php b/share/netmap/Viewpoint.php index d09af25..78ff562 100644 --- a/share/netmap/Viewpoint.php +++ b/share/netmap/Viewpoint.php @@ -29,9 +29,6 @@ class Viewpoint public function __construct($label = "", $center = "", $zoom = 0) { - if ($label == '') - throw new Exception('Attempt to create an invalid object of Viewpoint class'); - $this->label = $label; $this->center = $center; $this->zoom = $zoom; ------------------------------------------------------------------------------ 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
