Skip to content
Snippets Groups Projects
Commit 4643a5d2 authored by Björn Schießle's avatar Björn Schießle
Browse files

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

parent 1d335034
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment