Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GitHub Mirror
Nextcloud
server
Commits
d06716db
Unverified
Commit
d06716db
authored
Feb 22, 2022
by
Christoph Wurst
Committed by
GitHub
Feb 22, 2022
Browse files
Merge pull request #31295 from nextcloud/fix-cleaning-reminders
Fix cleaning reminders after subscription purge
parents
c4d09af6
9347fc18
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/dav/lib/AppInfo/Application.php
View file @
d06716db
...
...
@@ -305,11 +305,11 @@ class Application extends App implements IBootstrap {
]);
/** @var CalDavBackend $calDavBackend */
$calDavBackend
=
$container
->
query
(
CalDavBackend
::
class
);
$calDavBackend
=
$container
->
get
(
CalDavBackend
::
class
);
$calDavBackend
->
purgeAllCachedEventsForSubscription
(
$subscriptionData
[
'id'
]);
/** @var ReminderBackend $calDavBackend */
$reminderBackend
=
$container
->
query
(
ReminderBackend
::
class
);
$reminderBackend
->
cleanRemindersForCalendar
(
$subscriptionData
[
'id'
]);
$reminderBackend
=
$container
->
get
(
ReminderBackend
::
class
);
$reminderBackend
->
cleanRemindersForCalendar
(
(
int
)
$subscriptionData
[
'id'
]);
}
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment