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

This commit is contained in:
Bjoern Schiessle 2014-11-25 16:15:32 +01:00
parent 1d33503487
commit 4643a5d238
1 changed files with 2 additions and 2 deletions

View File

@ -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');
}
/**