cvs: pearweb /public_html/bugs/include cvs-auth.inc
| From: | Pierre-Alain Joye | Date: | Thu, 13 Apr 2006 12:49:57 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include cvs-auth.inc | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4721@lists.php.net to get a copy of this message | ||
pajoye Thu Apr 13 12:49:57 2006 UTC
Modified files:
/pearweb/public_html/bugs/include cvs-auth.inc
Log:
- remove unused code
http://cvs.php.net/viewcvs.cgi/pearweb/public_html/bugs/include/cvs-auth.inc?r1=1.5&r2=1.6&diff_format=u
Index: pearweb/public_html/bugs/include/cvs-auth.inc
diff -u pearweb/public_html/bugs/include/cvs-auth.inc:1.5
pearweb/public_html/bugs/include/cvs-auth.inc:1.6
--- pearweb/public_html/bugs/include/cvs-auth.inc:1.5 Thu Apr 13 01:20:12 2006
+++ pearweb/public_html/bugs/include/cvs-auth.inc Thu Apr 13 12:49:57 2006
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: cvs-auth.inc,v 1.5 2006/04/13 01:20:12 dufuz Exp $
+ * @version $Id: cvs-auth.inc,v 1.6 2006/04/13 12:49:57 pajoye Exp $
*/
$ignore_password = false;
@@ -41,14 +41,6 @@
global $auth_user;
$logged = ($auth_user ? true : false);
return $logged;
- global $ignore_password;
- $psw = find_password($user);
- if (strlen($psw) > 0) {
- if ($ignore_password || crypt($pass,substr($psw,0,2)) == $psw) {
- return true;
- }
- }
- return false;
}
?>