Module: nagvis
Branch: master
Commit: c1c6a0a618b2c651005edc62f9f669a39118b8c9
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=c1c6a0a618b2c651005edc62f9f669a39118b8c9

Author: Lars Michelsen <[email protected]>
Date:   Sun Oct 18 22:18:14 2009 +0200

Removed some deprecated code

---

 share/server/core/classes/GlobalIndexPage.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/server/core/classes/GlobalIndexPage.php 
b/share/server/core/classes/GlobalIndexPage.php
index e4e1e81..0f69946 100644
--- a/share/server/core/classes/GlobalIndexPage.php
+++ b/share/server/core/classes/GlobalIndexPage.php
@@ -62,7 +62,7 @@ class GlobalIndexPage {
                                continue;
                        }
                        
-                       if($MAPCFG->getValue('global',0, 'show_in_lists') == 1 
&& ($mapName != '__automap' || ($mapName == '__automap' && 
$this->CORE->MAINCFG->getValue('automap', 'showinlists')))) {
+                       if($MAPCFG->getValue('global',0, 'show_in_lists') == 1) 
{
                                $opts = Array();
                                
                                // Fetch option array from defaultparams string 
(extract variable 
@@ -172,7 +172,7 @@ class GlobalIndexPage {
                                        continue;
                                }
                                
-                               if($MAPCFG->getValue('global',0, 
'show_in_lists') == 1 && ($mapName != '__automap' || ($mapName == '__automap' 
&& $this->CORE->MAINCFG->getValue('automap', 'showinlists')))) {
+                               if($MAPCFG->getValue('global',0, 
'show_in_lists') == 1) {
                                        $MAP = new NagVisMap($this->CORE, 
$MAPCFG, $this->BACKEND);
                                        
                                        // Apply default configuration to object


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to