replace \OC:: with \OC::->getSession()
This commit is contained in:
parent
1d33503487
commit
4643a5d238
|
@ -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…
Reference in New Issue