Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Sep 28, 2024

Summary

Some functions need a logged-in user so we can only assert a user is logged in on runtime of those functions, but instead of repeating that check we can just use a helper function.

Checklist

@susnux susnux added 3. to review Waiting for reviews feature: theming ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Sep 28, 2024
@susnux susnux added this to the Nextcloud 31 milestone Sep 28, 2024
@susnux susnux requested review from come-nc and skjnldsv October 1, 2024 21:40
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

I want the same thing for controllers please.

@susnux susnux merged commit 94c5294 into master Oct 3, 2024
@susnux susnux deleted the refactor/background-service branch October 3, 2024 17:04
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews feature: theming ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants