diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-25 22:59:44 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-26 10:35:37 +0200 |
commit | d5222d68f0180cb7072c28975fea95ac2a445e3d (patch) | |
tree | fc2f7571c18338df670078db2a2879a8a31a0359 /apps/dav/lib/Direct/DirectHome.php | |
parent | 392337fa13028be2ef03f0f9d09ac224d8aa6818 (diff) | |
download | nextcloud-server-d5222d68f0180cb7072c28975fea95ac2a445e3d.tar.gz nextcloud-server-d5222d68f0180cb7072c28975fea95ac2a445e3d.zip |
Add tests for DirectFile and DirectHome
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/lib/Direct/DirectHome.php')
-rw-r--r-- | apps/dav/lib/Direct/DirectHome.php | 2 |
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(); } |