summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Direct/DirectHome.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Direct/DirectHome.php')
-rw-r--r--apps/dav/lib/Direct/DirectHome.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Direct/DirectHome.php b/apps/dav/lib/Direct/DirectHome.php
index 393adaddc97..e0246c83de9 100644
--- a/apps/dav/lib/Direct/DirectHome.php
+++ b/apps/dav/lib/Direct/DirectHome.php
@@ -77,7 +77,7 @@ class DirectHome implements ICollection {
$direct = $this->mapper->getByToken($name);
// Expired
- if ($direct->getExpiration() >= $this->timeFactory->getTime()) {
+ if ($direct->getExpiration() < $this->timeFactory->getTime()) {
throw new NotFound();
}