aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/SessionManager.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2017-11-24 23:53:15 +0100
committerGitHub <noreply@github.com>2017-11-24 23:53:15 +0100
commitd9514becc4d8b06e2a31c6975f3bbbaf6f1fed42 (patch)
tree301bed8a69d908c5b583a3c66cb36d1beac38271 /application/SessionManager.php
parent4e58d2edf79bb90b52e7235e4239b1e462bdd9aa (diff)
parentdd883aaf0999e9dc783a1a19bfeeab181c949d55 (diff)
downloadShaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.tar.gz
Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.tar.zst
Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.zip
Merge pull request #1016 from virtualtam/refactor/session
Improve SessionManager constructor and tests
Diffstat (limited to 'application/SessionManager.php')
-rw-r--r--application/SessionManager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/SessionManager.php b/application/SessionManager.php
index 3aa4ddfc..71f0b38d 100644
--- a/application/SessionManager.php
+++ b/application/SessionManager.php
@@ -12,12 +12,12 @@ class SessionManager
12 * Constructor 12 * Constructor
13 * 13 *
14 * @param array $session The $_SESSION array (reference) 14 * @param array $session The $_SESSION array (reference)
15 * @param ConfigManager $conf ConfigManager instance (reference) 15 * @param ConfigManager $conf ConfigManager instance
16 */ 16 */
17 public function __construct(& $session, & $conf) 17 public function __construct(& $session, $conf)
18 { 18 {
19 $this->session = &$session; 19 $this->session = &$session;
20 $this->conf = &$conf; 20 $this->conf = $conf;
21 } 21 }
22 22
23 /** 23 /**