]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atom10feed.php
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / lib / atom10feed.php
index 2d617326c5dded37223842255d5a939b2ef82927..2bba6d0a91474bf5ac7271c3cc35aa83b2574e2c 100644 (file)
@@ -146,20 +146,6 @@ class Atom10Feed extends XMLStringer
         }
     }
 
-    /**
-     * Deprecated <activity:subject>; ignored
-     *
-     * @param string $xmlSubject An XML string representation of the subject
-     *
-     * @return void
-     */
-
-    function setActivitySubject($xmlSubject)
-    {
-        // TRANS: Server exception thrown when using the method setActivitySubject() in the class Atom10Feed.
-        throw new ServerException(_('Do not use this method!'));
-    }
-
     function getNamespaces()
     {
         return $this->namespaces;
@@ -181,10 +167,10 @@ class Atom10Feed extends XMLStringer
 
         $this->element(
             'generator', array(
-                'uri'     => 'http://status.net',
-                'version' => STATUSNET_VERSION
+                'uri'     => 'https://gnu.io/social',
+                'version' => GNUSOCIAL_VERSION
             ),
-            'StatusNet'
+            'GNU social'
         );
 
         $this->element('id', null, $this->id);