Skip to content
Snippets Groups Projects
Unverified Commit a6f79261 authored by Georg Ehrke's avatar Georg Ehrke Committed by Roeland Jago Douma
Browse files

Implement getID and getName in Reminder/Notifier as required since Nextcloud 17

parent 11fa4519
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,26 @@ class Notifier implements INotifier { ...@@ -55,6 +55,26 @@ class Notifier implements INotifier {
$this->urlGenerator = $urlGenerator; $this->urlGenerator = $urlGenerator;
} }
/**
* Identifier of the notifier, only use [a-z0-9_]
*
* @return string
* @since 17.0.0
*/
public function getID():string {
return 'dav';
}
/**
* Human readable name describing the notifier
*
* @return string
* @since 17.0.0
*/
public function getName():string {
return $this->factory->get('dav')->t('Calendar');
}
/** /**
* @param INotification $notification * @param INotification $notification
* @param string $languageCode The code of the language that should be used to prepare the notification * @param string $languageCode The code of the language that should be used to prepare the notification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment