]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
correct indentation and visibility modifier
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 25 Oct 2009 19:30:16 +0000 (19:30 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 25 Oct 2009 19:30:16 +0000 (19:30 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@416 b3834d28-1941-0410-a4f8-b48e95affb8f

src/SemanticScuttle/Service/User.php

index f44073d15bf783184637b6a83f5c66ebf3752508..bf44c4bb00d7a5dbaa2791fcb7b2a8925e6c2d8c 100644 (file)
@@ -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;
@@ -554,16 +555,17 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService
     }
 
     /**
-         * Tells you if the session is fresh or old.
-         * If the session is fresh, it's the first page
-         * call with that session id. If the session is old,
-         * we know that cookies (or session persistance) works
-         *
-         * @return boolean True if the
-         *
-         * @see updateSessionStability()
-         */
-    function isSessionStable() {
+     * Tells you if the session is fresh or old.
+     * If the session is fresh, it's the first page
+     * call with that session id. If the session is old,
+     * we know that cookies (or session persistance) works
+     *
+     * @return boolean True if the
+     *
+     * @see updateSessionStability()
+     */
+    publi function isSessionStable()
+    {
         return $_SESSION['sessionStable'] == 1;
     }