X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fatomgroupnoticefeed.php;h=817191b64aecee4cfffd40392fa778340688e89b;hb=ffd387e2dd42b40b5bae079e493774a38d66e963;hp=4e7f992662d53657fa6677018a902fdbe0dbb71d;hpb=8eb66467165e107d0c80c64f6c429fed1d1101d5;p=quix0rs-gnu-social.git diff --git a/lib/atomgroupnoticefeed.php b/lib/atomgroupnoticefeed.php index 4e7f992662..817191b64a 100644 --- a/lib/atomgroupnoticefeed.php +++ b/lib/atomgroupnoticefeed.php @@ -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( + "\n" + . $ao->asString('activity:subject') + ); $this->addLink($group->homeUrl()); }