From bcce568c6d892ccacc598c5d5bfa6b24c3284741 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Fri, 9 Aug 2019 20:25:21 +0200 Subject: Support recurring events + repeating alarms Signed-off-by: Georg Ehrke --- apps/dav/lib/Command/SendEventReminders.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'apps/dav/lib/Command/SendEventReminders.php') diff --git a/apps/dav/lib/Command/SendEventReminders.php b/apps/dav/lib/Command/SendEventReminders.php index 02d8a287269..93477cb0f72 100644 --- a/apps/dav/lib/Command/SendEventReminders.php +++ b/apps/dav/lib/Command/SendEventReminders.php @@ -27,6 +27,11 @@ use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; +/** + * Class SendEventReminders + * + * @package OCA\DAV\Command + */ class SendEventReminders extends Command { /** @var ReminderService */ @@ -35,10 +40,13 @@ class SendEventReminders extends Command { /** @var IConfig */ protected $config; - public function __construct(string $name = null, - ReminderService $reminderService, + /** + * @param ReminderService $reminderService + * @param IConfig $config + */ + public function __construct(ReminderService $reminderService, IConfig $config) { - parent::__construct($name); + parent::__construct(); $this->reminderService = $reminderService; $this->config = $config; } -- cgit v1.2.3