aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-04-27 22:00:35 +0200
committerVirtualTam <virtualtam@flibidi.net>2018-06-02 16:46:06 +0200
commit68dcaccfa46649addc66674b627a83064798bbc0 (patch)
tree71f25a3e14fa5a8c78a5e23ebc72791aacbd2ab7 /application
parent89ccc83ba497fa91eaaf2a2a52d8549aea5e2aee (diff)
downloadShaarli-68dcaccfa46649addc66674b627a83064798bbc0.tar.gz
Shaarli-68dcaccfa46649addc66674b627a83064798bbc0.tar.zst
Shaarli-68dcaccfa46649addc66674b627a83064798bbc0.zip
LoginManager: remove unused parameter
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application')
-rw-r--r--application/LoginManager.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/application/LoginManager.php b/application/LoginManager.php
index 5ce836fa..27d06705 100644
--- a/application/LoginManager.php
+++ b/application/LoginManager.php
@@ -48,7 +48,6 @@ class LoginManager
48 /** 48 /**
49 * Check user session state and validity (expiration) 49 * Check user session state and validity (expiration)
50 * 50 *
51 * @param array $session The $_SESSION array (reference)
52 * @param array $cookie The $_COOKIE array 51 * @param array $cookie The $_COOKIE array
53 * @param string $webPath Path on the server in which the cookie will be available on 52 * @param string $webPath Path on the server in which the cookie will be available on
54 * @param string $clientIpId Client IP address identifier 53 * @param string $clientIpId Client IP address identifier
@@ -56,7 +55,7 @@ class LoginManager
56 * 55 *
57 * @return bool true if the user session is valid, false otherwise 56 * @return bool true if the user session is valid, false otherwise
58 */ 57 */
59 public function checkLoginState(& $session, $cookie, $webPath, $clientIpId, $token) 58 public function checkLoginState($cookie, $webPath, $clientIpId, $token)
60 { 59 {
61 if (! $this->configManager->exists('credentials.login')) { 60 if (! $this->configManager->exists('credentials.login')) {
62 // Shaarli is not configured yet 61 // Shaarli is not configured yet