mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
replace \OC:: with \OC::->getSession()
This commit is contained in:
parent
1d33503487
commit
4643a5d238
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue