From 143ff6a622a3349a01dd0347d069f824b0f24c4c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 23 Oct 2017 12:35:55 +0200 Subject: Add a doc why this should not be removed Signed-off-by: Joas Schilling --- apps/comments/lib/Activity/Provider.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/comments/lib/Activity') 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(), -- cgit v1.2.3