Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/SessionService.php')
-rw-r--r--lib/Service/SessionService.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Service/SessionService.php b/lib/Service/SessionService.php
index b4eb393dd..b7be301ef 100644
--- a/lib/Service/SessionService.php
+++ b/lib/Service/SessionService.php
@@ -88,7 +88,11 @@ class SessionService {
}, $sessions);
}
- public function removeInactiveSessions($documentId) {
+ public function findAllInactive() {
+ return $this->sessionMapper->findAllInactive();
+ }
+
+ public function removeInactiveSessions($documentId = -1) {
return $this->sessionMapper->deleteInactive($documentId);
}