Browse Source

replace \OC:: with \OC::->getSession()

tags/v8.0.0alpha1
Bjoern Schiessle 9 years ago
parent
commit
4643a5d238
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      apps/files_encryption/lib/session.php

+ 2
- 2
apps/files_encryption/lib/session.php View File

@@ -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');
}

/**

Loading…
Cancel
Save