]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atomgroupnoticefeed.php
Move group logo edit from object nav to block actions
[quix0rs-gnu-social.git] / lib / atomgroupnoticefeed.php
index 4e7f992662d53657fa6677018a902fdbe0dbb71d..817191b64aecee4cfffd40392fa778340688e89b 100644 (file)
@@ -91,8 +91,16 @@ class AtomGroupNoticeFeed extends AtomNoticeFeed
 
         $ao = ActivityObject::fromGroup($group);
 
-        $this->addAuthorRaw($ao->asString('author').
-                            $ao->asString('activity:subject'));
+        $this->addAuthorRaw($ao->asString('author'));
+
+        $depMsg = 'Deprecation warning: activity:subject is present '
+            . 'only for backward compatibility. It will be '
+            . 'removed in the next version of StatusNet.';
+
+        $this->addAuthorRaw(
+            "<!--$depMsg-->\n"
+            . $ao->asString('activity:subject')
+        );
 
         $this->addLink($group->homeUrl());
     }