Skip to content

Conversation

@schiessle
Copy link
Member

@schiessle schiessle commented Aug 16, 2016

backport to stable10 as soon as nextcloud/server#796 is backported

* @returns string
*/
public function getID() {
return 'surveyclient';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the app id? so with _

@schiessle schiessle mentioned this pull request Aug 16, 2016
8 tasks
@schiessle schiessle force-pushed the move-to-new-admin-settings branch from a448e35 to d3c7eb7 Compare August 16, 2016 14:10
@schiessle
Copy link
Member Author

@nickvergessen fixed... 😉

->setSubject('updated')
->setObject('dummy', 23)
->setLink($urlGenerator->getAbsoluteURL('index.php/settings/admin#usage-report'));
->setLink($urlGenerator->getAbsoluteURL('index.php/settings/admin/survey_client'));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can also use linkToRoute() instead, makes you robust against possible future url changes.

@blizzz
Copy link
Member

blizzz commented Aug 16, 2016

One suggestion, works, 👍

@blizzz
Copy link
Member

blizzz commented Aug 16, 2016

needs rebase

@schiessle schiessle force-pushed the move-to-new-admin-settings branch from d3c7eb7 to 2f7822f Compare August 16, 2016 19:41
@schiessle schiessle merged commit 9ae9f7b into master Aug 16, 2016
@schiessle schiessle deleted the move-to-new-admin-settings branch August 16, 2016 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants