diff options
Diffstat (limited to 'lib/Service/SessionService.php')
-rw-r--r-- | lib/Service/SessionService.php | 6 |
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); } |