diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-28 17:06:37 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-28 17:06:37 +0200 |
commit | 4b4b447e2adfa383cd702b175af248900e1438fe (patch) | |
tree | d0ac182060d8fb3ba9a0a11b5376ff8cdeb35a9a /apps | |
parent | 5b7395f55b8575120ee57c6bf3f2b9c3b4f16925 (diff) | |
download | nextcloud-server-4b4b447e2adfa383cd702b175af248900e1438fe.tar.gz nextcloud-server-4b4b447e2adfa383cd702b175af248900e1438fe.zip |
fixed missing convert to new session handler
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_encryption/lib/session.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_encryption/lib/session.php b/apps/files_encryption/lib/session.php index 34913039b0c..d60c386fb1c 100644 --- a/apps/files_encryption/lib/session.php +++ b/apps/files_encryption/lib/session.php @@ -150,12 +150,11 @@ class Session */ public function getPublicSharePrivateKey() { - if (isset($_SESSION['publicSharePrivateKey']) && !empty($_SESSION['publicSharePrivateKey'])) { - return $_SESSION['publicSharePrivateKey']; + if (!is_null( \OC::$session->get('publicSharePrivateKey') )) { + return \OC::$session->get('publicSharePrivateKey'); } else { return false; } - } |