[Mapbender-commits] r4221 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 25 07:37:37 EDT 2009
Author: vera
Date: 2009-06-25 07:37:37 -0400 (Thu, 25 Jun 2009)
New Revision: 4221
Modified:
trunk/mapbender/http/php/mod_deleteWMS.php
Log:
session var angepasst
Modified: trunk/mapbender/http/php/mod_deleteWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_deleteWMS.php 2009-06-25 11:36:36 UTC (rev 4220)
+++ trunk/mapbender/http/php/mod_deleteWMS.php 2009-06-25 11:37:37 UTC (rev 4221)
@@ -277,7 +277,7 @@
echo "</p>";
//previously, a WMS could only be deleted if it was owned by a single owner
- //if(count($owner)==1 && $owner[0] == $_SESSION["mb_user_name"]){
+ //if(count($owner)==1 && $owner[0] == Mapbender::session()->get("mb_user_name")){
//now, any owner can delete, any non-owner can suggest deletions
//if a wms has no owner, anyone can delete
More information about the Mapbender_commits
mailing list