svn: /web/doc-editor/trunk/php/ AccountManager.php

[email protected] (Neal Poole)
Newsgroups php.doc.web
Message-ID <[email protected]>
nbpoole                                  Thu, 23 Jun 2011 19:55:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312409

Log:
Removing unnecessary calls to setcookie.

Changed paths:
    U   web/doc-editor/trunk/php/AccountManager.php

Modified: web/doc-editor/trunk/php/AccountManager.php
===================================================================
--- web/doc-editor/trunk/php/AccountManager.php	2011-06-23 19:38:10 UTC (rev 312408)
+++ web/doc-editor/trunk/php/AccountManager.php	2011-06-23 19:55:08 UTC (rev 312409)
@@ -302,10 +302,6 @@
             $cookieLogin = $_SESSION['vcsLogin'];
            }

-           setcookie("loginApp", $cookieLogin, time() + 3600*24*365, "/"); // One year ;)
-           setcookie("email", $email, time() + 3600*24*365, "/");
-           setcookie("lang", $this->vcsLang, time() + 3600*24*365, "/");
-
         } elseif ($AuthReturn == 'Bad password') {

             // Authentication failed from the VCS server : bad password return
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.