From: <var...@us...> - 2014-10-03 15:22:08
|
Revision: 9183 http://sourceforge.net/p/phpwiki/code/9183 Author: vargenau Date: 2014-10-03 15:22:05 +0000 (Fri, 03 Oct 2014) Log Message: ----------- function crypt exists Modified Paths: -------------- trunk/lib/WikiUser/AdoDb.php trunk/lib/WikiUser/PdoDb.php trunk/lib/WikiUser/PearDb.php Modified: trunk/lib/WikiUser/AdoDb.php =================================================================== --- trunk/lib/WikiUser/AdoDb.php 2014-10-03 15:20:42 UTC (rev 9182) +++ trunk/lib/WikiUser/AdoDb.php 2014-10-03 15:22:05 UTC (rev 9183) @@ -285,8 +285,7 @@ } if ($this->_auth_crypt_method == 'crypt') { - if (function_exists('crypt')) - $submitted_password = crypt($submitted_password); + $submitted_password = crypt($submitted_password); } $rs = $dbh->Execute(sprintf($this->_authupdate, $dbh->qstr($submitted_password), Modified: trunk/lib/WikiUser/PdoDb.php =================================================================== --- trunk/lib/WikiUser/PdoDb.php 2014-10-03 15:20:42 UTC (rev 9182) +++ trunk/lib/WikiUser/PdoDb.php 2014-10-03 15:22:05 UTC (rev 9183) @@ -273,8 +273,7 @@ } if ($this->_auth_crypt_method == 'crypt') { - if (function_exists('crypt')) - $submitted_password = crypt($submitted_password); + $submitted_password = crypt($submitted_password); } try { $this->_authupdate->bindParam("password", $submitted_password, PDO::PARAM_STR, 48); Modified: trunk/lib/WikiUser/PearDb.php =================================================================== --- trunk/lib/WikiUser/PearDb.php 2014-10-03 15:20:42 UTC (rev 9182) +++ trunk/lib/WikiUser/PearDb.php 2014-10-03 15:22:05 UTC (rev 9183) @@ -250,8 +250,7 @@ } if ($this->_auth_crypt_method == 'crypt') { - if (function_exists('crypt')) - $submitted_password = crypt($submitted_password); + $submitted_password = crypt($submitted_password); } $dbh->simpleQuery(sprintf($this->_authupdate, $dbh->quote($submitted_password), $dbh->quote($this->_userid))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |