aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2017-10-31 15:05:26 +0100
committerGitHub <noreply@github.com>2017-10-31 15:05:26 +0100
commitb3ff9a2248f18fac4b2a9ffa5be99c464effb4b6 (patch)
treee6a1524c973307d17b0b89e20ed161b72c6687dd /apps/comments
parent6ddda3d7d4173bf0203bd2556f7a2d13aea22195 (diff)
parent143ff6a622a3349a01dd0347d069f824b0f24c4c (diff)
downloadnextcloud-server-b3ff9a2248f18fac4b2a9ffa5be99c464effb4b6.tar.gz
nextcloud-server-b3ff9a2248f18fac4b2a9ffa5be99c464effb4b6.zip
Merge pull request #6849 from nextcloud/fix-missing-translation-of-personal-calendar-in-activity
Fix missing translation of "Personal" calendar in activities
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/lib/Activity/Provider.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/comments/lib/Activity/Provider.php b/apps/comments/lib/Activity/Provider.php
index a691d7dd644..41ab8ea8b8e 100644
--- a/apps/comments/lib/Activity/Provider.php
+++ b/apps/comments/lib/Activity/Provider.php
@@ -174,6 +174,12 @@ class Provider implements IProvider {
}
// Fix subjects from 12.0.3 and older
+ //
+ // Do NOT Remove unless necessary
+ // Removing this will break parsing of activities that were created on
+ // Nextcloud 12, so we should keep this as long as it's acceptable.
+ // Otherwise if people upgrade over multiple releases in a short period,
+ // they will get the dead entries in their stream.
return [
'actor' => $subjectParameters[0],
'fileId' => (int) $event->getObjectId(),