svn: /web/php-bugs/trunk/include/ functions.php
| From: | Felipe Pena | Date: | Sun, 03 Jul 2011 20:37:28 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11447@lists.php.net to get a copy of this message | ||
felipe Sun, 03 Jul 2011 20:37:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312868
Log:
- Drop unused code
Changed paths:
U web/php-bugs/trunk/include/functions.php
Modified: web/php-bugs/trunk/include/functions.php
===================================================================
--- web/php-bugs/trunk/include/functions.php 2011-07-03 20:36:47 UTC (rev 312867)
+++ web/php-bugs/trunk/include/functions.php 2011-07-03 20:37:28 UTC (rev 312868)
@@ -157,12 +157,6 @@
$pw = $auth_user->password;
} elseif (isset($_SESSION["credentials"]) &&
count($_SESSION["credentials"]) == 2) {
list($user, $pw) = $_SESSION["credentials"];
- // FIXME: Killed magic cookie login..
- } elseif (false && isset($_COOKIE['MAGIC_COOKIE'])) {
- @list($user, $pw) = explode(':', base64_decode($_COOKIE['MAGIC_COOKIE']), 2);
- if ($pw === null) {
- $pw = '';
- }
}
// Authentication and user level check