[Mapbender-commits] r7130 - trunk/mapbender/http/frames
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Nov 16 03:40:20 EST 2010
Author: christoph
Date: 2010-11-16 00:40:20 -0800 (Tue, 16 Nov 2010)
New Revision: 7130
Modified:
trunk/mapbender/http/frames/login.php
Log:
removed obsolete code - no more mysql
Modified: trunk/mapbender/http/frames/login.php
===================================================================
--- trunk/mapbender/http/frames/login.php 2010-11-15 18:33:00 UTC (rev 7129)
+++ trunk/mapbender/http/frames/login.php 2010-11-16 08:40:20 UTC (rev 7130)
@@ -42,18 +42,6 @@
return $rown;
}
}
- else if(SYS_DBTYPE == 'mysql' && $setEncPw == true){
- $sql = "SELECT * FROM mb_user WHERE mb_user_name = $1 AND mb_user_password = password($2)";
- $v = array($name,$pw);
- $resn = db_prep_query($sql,$v,$t);
- if($rown = db_fetch_array($resn)){
- $sqlu = "UPDATE mb_user SET mb_user_password = $1 WHERE mb_user_id = $2";
- $vu = array(md5($pw),$rown["mb_user_id"]);
- $tu = array('s','i');
- $rowu = db_prep_query($sqlu,$vu,$tu);
- return $rown;
- }
- }
}
function setSession(){
session_start();
More information about the Mapbender_commits
mailing list