]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/LoginManager.php
LoginManager: remove unused parameter
[github/shaarli/Shaarli.git] / application / LoginManager.php
index 5ce836fa9cc3bbda35dba0067c173374a306b6d2..27d067051f8c9980e9257a4eddcb9e566fb364ab 100644 (file)
@@ -48,7 +48,6 @@ class LoginManager
     /**
      * Check user session state and validity (expiration)
      *
-     * @param array  $session    The $_SESSION array (reference)
      * @param array  $cookie     The $_COOKIE array
      * @param string $webPath    Path on the server in which the cookie will be available on
      * @param string $clientIpId Client IP address identifier
@@ -56,7 +55,7 @@ class LoginManager
      *
      * @return bool true if the user session is valid, false otherwise
      */
-    public function checkLoginState(& $session, $cookie, $webPath, $clientIpId, $token)
+    public function checkLoginState($cookie, $webPath, $clientIpId, $token)
     {
         if (! $this->configManager->exists('credentials.login')) {
             // Shaarli is not configured yet