[Mapbender-commits] r4506 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 7 09:54:31 EDT 2009


Author: christoph
Date: 2009-08-07 09:54:30 -0400 (Fri, 07 Aug 2009)
New Revision: 4506

Modified:
   trunk/mapbender/http/classes/class_administration.php
Log:


Modified: trunk/mapbender/http/classes/class_administration.php
===================================================================
--- trunk/mapbender/http/classes/class_administration.php	2009-08-07 13:07:57 UTC (rev 4505)
+++ trunk/mapbender/http/classes/class_administration.php	2009-08-07 13:54:30 UTC (rev 4506)
@@ -1032,6 +1032,7 @@
 		}
 	}
 	
+	// deprecated! use User->isLayerAccessible
 	function getLayerPermission($wms_id, $layer_name, $user_id){
 		$layer_id = $this->getLayerIdByLayerName($wms_id,$layer_name);
 		$array_guis = $this->getGuisByPermission($user_id,true);
@@ -1058,6 +1059,7 @@
 		}
 	}
 	
+	// deprecated! use User->isWmsAccessible
 	function getWmsPermission($wms_id, $user_id) {
 		$array_guis = $this->getGuisByPermission($user_id,true);
 		$v = array();



More information about the Mapbender_commits mailing list