summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-06-08 11:50:17 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-07-23 09:36:24 +0200
commit702d13cc796114bfa292c66137fcda0b14815fac (patch)
treebdd182771a556c63576268c8f0af08cc2f45cb08 /apps/dav/appinfo
parent12590bf3d8c5dea707e48c149ee0bb02b92353e4 (diff)
downloadnextcloud-server-702d13cc796114bfa292c66137fcda0b14815fac.tar.gz
nextcloud-server-702d13cc796114bfa292c66137fcda0b14815fac.zip
don't send invitation emails for past events
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/caldav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php
index 301ea4b5486..bd9de775f44 100644
--- a/apps/dav/appinfo/v1/caldav.php
+++ b/apps/dav/appinfo/v1/caldav.php
@@ -84,7 +84,7 @@ if ($debugging) {
$server->addPlugin(new \Sabre\DAV\Sync\Plugin());
$server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());
$server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin());
-$server->addPlugin(new \OCA\DAV\CalDAV\Schedule\IMipPlugin( \OC::$server->getMailer(), \OC::$server->getLogger()));
+$server->addPlugin(new \OCA\DAV\CalDAV\Schedule\IMipPlugin( \OC::$server->getMailer(), \OC::$server->getLogger(), new \OC\AppFramework\Utility\TimeFactory()));
$server->addPlugin(new ExceptionLoggerPlugin('caldav', \OC::$server->getLogger()));
// And off we go!