summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2019-08-09 20:25:21 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-15 20:03:51 +0200
commitbcce568c6d892ccacc598c5d5bfa6b24c3284741 (patch)
tree5ecf26f407ac71ef7b97e99a9f3f026c3ec6974e /apps/dav/lib/Command
parent7c4a8a3bdf6d8c0c12cf7cab93cc465c83c4ec8f (diff)
downloadnextcloud-server-bcce568c6d892ccacc598c5d5bfa6b24c3284741.tar.gz
nextcloud-server-bcce568c6d892ccacc598c5d5bfa6b24c3284741.zip
Support recurring events + repeating alarms
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Command')
-rw-r--r--apps/dav/lib/Command/SendEventReminders.php14
1 files changed, 11 insertions, 3 deletions
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;
}