X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fatomusernoticefeed.php;h=b899ecff4aa4c15da5173ddf9f40f81b49cc9c72;hb=a7a4eeef09ee8929bb9ca563eb2bc52d198d202f;hp=5180725722d23dff75d5ff2315e1d9f2b3fdfdd9;hpb=b0dfc70a54e5e184023ed982dfaf5439041e9708;p=quix0rs-gnu-social.git diff --git a/lib/atomusernoticefeed.php b/lib/atomusernoticefeed.php index 5180725722..b899ecff4a 100644 --- a/lib/atomusernoticefeed.php +++ b/lib/atomusernoticefeed.php @@ -66,22 +66,7 @@ class AtomUserNoticeFeed extends AtomNoticeFeed array_push($ao->extra, $profile->profileInfo($cur)); - // XXX: For users, we generate an author _AND_ an - // This is for backward compatibility with clients (especially - // StatusNet's clients) that assume the Atom will conform to an - // older version of the Activity Streams API. Subject should be - // removed in future versions of StatusNet. - $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') - ); } // TRANS: Title in atom user notice feed. %s is a user name.