[Mapbender-commits] r4201 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jun 25 06:26:09 EDT 2009


Author: vera
Date: 2009-06-25 06:26:09 -0400 (Thu, 25 Jun 2009)
New Revision: 4201

Modified:
   trunk/mapbender/http/php/mod_wfs_conf_server.php
Log:
session var angepasst

Modified: trunk/mapbender/http/php/mod_wfs_conf_server.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs_conf_server.php	2009-06-25 10:23:56 UTC (rev 4200)
+++ trunk/mapbender/http/php/mod_wfs_conf_server.php	2009-06-25 10:26:09 UTC (rev 4201)
@@ -28,7 +28,7 @@
 
 switch ($command) {
 	case "getWfsConfs" : 
-		$currentUser = new User($_SESSION["mb_user_id"]);
+		$currentUser = new User(Mapbender::session()->get("mb_user_id"));
 		$wfsConfIds = $currentUser->getWfsConfByWfsOwner();
 		if ($wfsConfIds === null) {
 			$wfsConfIds = array();
@@ -47,7 +47,7 @@
 
 	case "getWfs" : 
 		$aWFS = new wfs_conf();
-		$aWFS->getallwfs($_SESSION['mb_user_id']);
+		$aWFS->getallwfs(Mapbender::session()->get("mb_user_id"));
 		
 		$result = array();
 		



More information about the Mapbender_commits mailing list