aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-25 19:30:16 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-25 19:30:16 +0000
commitb38d876fad5d2ba080a87f9667dea4a3a1cca7f5 (patch)
treebcabbb2bdbd9ba3b7d81164535916f7d3a0b5461 /src/SemanticScuttle
parentc4ce5438a847e54302039b69d381a365d8f7b1a3 (diff)
downloadsemanticscuttle-b38d876fad5d2ba080a87f9667dea4a3a1cca7f5.tar.gz
semanticscuttle-b38d876fad5d2ba080a87f9667dea4a3a1cca7f5.tar.bz2
correct indentation and visibility modifier
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@416 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle')
-rw-r--r--src/SemanticScuttle/Service/User.php24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/SemanticScuttle/Service/User.php b/src/SemanticScuttle/Service/User.php
index f44073d..bf44c4b 100644
--- a/src/SemanticScuttle/Service/User.php
+++ b/src/SemanticScuttle/Service/User.php
@@ -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;
}