From 4643a5d2389fa5d7432dd319e9ad12d686aecfef Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 25 Nov 2014 16:15:32 +0100 Subject: [PATCH] replace \OC:: with \OC::->getSession() --- apps/files_encryption/lib/session.php | 4 ++-- 1 file 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'); } /**