summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-11-25 16:15:32 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-11-25 16:15:32 +0100
commit4643a5d2389fa5d7432dd319e9ad12d686aecfef (patch)
treebddc8ac7b1896b88ebf88d5ee9cc67c81fa09fd6 /apps/files_encryption
parent1d3350348797deeead5b02028c4ade7c874a7021 (diff)
downloadnextcloud-server-4643a5d2389fa5d7432dd319e9ad12d686aecfef.tar.gz
nextcloud-server-4643a5d2389fa5d7432dd319e9ad12d686aecfef.zip
replace \OC:: with \OC::->getSession()
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/lib/session.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/lib/session.php b/apps/files_encryption/lib/session.php
index 3cb02704188..132748b6ea5 100644
--- a/apps/files_encryption/lib/session.php
+++ b/apps/files_encryption/lib/session.php
@@ -126,8 +126,8 @@ class Session {
* remove keys from session
*/
public function removeKeys() {
- \OC::$session->remove('publicSharePrivateKey');
- \OC::$session->remove('privateKey');
+ \OC::$server->getSession()->remove('publicSharePrivateKey');
+ \OC::$server->getSession()->remove('privateKey');
}
/**