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

remotes/origin/fix-10825
Bjoern Schiessle 10 years ago
parent 1d33503487
commit 4643a5d238
  1. 4
      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');
}
/**

Loading…
Cancel
Save