mirror of
https://github.com/nextcloud/server.git
synced 2024-08-12 02:11:02 +02:00
replace \OC:: with \OC::->getSession()
This commit is contained in:
parent
1d33503487
commit
4643a5d238
@ -126,8 +126,8 @@ class Session {
|
|||||||
* remove keys from session
|
* remove keys from session
|
||||||
*/
|
*/
|
||||||
public function removeKeys() {
|
public function removeKeys() {
|
||||||
\OC::$session->remove('publicSharePrivateKey');
|
\OC::$server->getSession()->remove('publicSharePrivateKey');
|
||||||
\OC::$session->remove('privateKey');
|
\OC::$server->getSession()->remove('privateKey');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user