From 413df054ad3235c59c24e897b616c569adc4f67b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 12 Aug 2012 05:47:45 -0400 Subject: [PATCH] CS fixes (mostly tab -> spaces) --- program/include/rcube_session.php | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php index b6a0ccf..6192466 100644 --- a/program/include/rcube_session.php +++ b/program/include/rcube_session.php @@ -531,7 +531,7 @@ public function set_keep_alive($keep_alive) { $this->keep_alive = $keep_alive; - + if ($this->lifetime < $keep_alive) $this->set_lifetime($keep_alive + 30); } @@ -551,7 +551,7 @@ { return $this->ip; } - + /** * Setter for cookie encryption secret */ @@ -568,7 +568,8 @@ { $this->ip_check = $check; } - + + /** * Setter for the cookie name used for session cookie */ @@ -605,7 +606,7 @@ $result = true; } } - } + } if (!$result) $this->log("Session authentication failed for " . $this->key . "; invalid auth cookie sent; timeslot = " . date('Y-m-d H:i:s', $prev)); @@ -637,7 +638,7 @@ } /** - * + * Writes debug information to the log */ function log($line) { -- Gitblit v1.9.1