correct indentation and visibility modifier
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@416 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
c4ce5438a8
commit
b38d876fad
1 changed files with 13 additions and 11 deletions
|
@ -544,7 +544,8 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService
|
|||
*
|
||||
* @see isSessionStable()
|
||||
*/
|
||||
function updateSessionStability() {
|
||||
public function updateSessionStability()
|
||||
{
|
||||
//find out if we have cookies enabled
|
||||
if (!isset($_SESSION['sessionStable'])) {
|
||||
$_SESSION['sessionStable'] = 0;
|
||||
|
@ -563,7 +564,8 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService
|
|||
*
|
||||
* @see updateSessionStability()
|
||||
*/
|
||||
function isSessionStable() {
|
||||
publi function isSessionStable()
|
||||
{
|
||||
return $_SESSION['sessionStable'] == 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue