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

From: Date: Wed, 11 Nov 2009 21:05:16 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1126@lists.php.net to get a copy of this message
yannick Wed, 11 Nov 2009 21:05:16 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290529 Log: Remove isLogged's method from class.php. This method is present in AccountManager.php as isLogged's method Changed paths: U web/doc-editor/trunk/php/class.php Modified: web/doc-editor/trunk/php/class.php =================================================================== --- web/doc-editor/trunk/php/class.php 2009-11-11 21:04:04 UTC (rev 290528) +++ web/doc-editor/trunk/php/class.php 2009-11-11 21:05:16 UTC (rev 290529) @@ -409,49 +409,6 @@ } /** - * Check if there is an authentificated session or not - * - * @return TRUE if there is an authentificated session, FALSE otherwise. - */ - function isLogged() { - - if (isset($_SESSION['userID'])) { - $this->userID = $_SESSION['userID']; - $this->cvsLogin = $_SESSION['cvsLogin']; - $this->cvsPasswd = $_SESSION['cvsPasswd']; - $this->cvsLang = $_SESSION['lang']; - - $this->userConf = ( isset($_SESSION['userConf']) ) ? $_SESSION['userConf'] : array( - - "conf_needupdate_diff" => 'using-exec', - "conf_needupdate_scrollbars" => 'true', - "conf_needupdate_displaylog" => 'false', - - "conf_error_skipnbliteraltag" => 'true', - "conf_error_scrollbars" => 'true', - "conf_error_displaylog" => 'false', - - "conf_reviewed_scrollbars" => 'true', - "conf_reviewed_displaylog" => 'false', - - "conf_allfiles_displaylog" => 'false', - - "conf_patch_scrollbars" => 'true', - "conf_patch_displaylog" => 'false', - - "conf_theme" => 'themes/empty.css' - ); - - $this->updateLastConnect(); - - return true; - } else { - return false; - } - - } - - /** * Parse a string to find all attributs. * * @param $tags_attrs The string to parse.

« previous php.doc.web (#1126) next »