]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atom10feed.php
OAuth: Fix rare problem in which request tokens were sometimes being
[quix0rs-gnu-social.git] / lib / atom10feed.php
index 3ae9dc81be077c3b387202ffdb49800cc565245e..881df6605f3d05565afc6d850c666fd94fe9ff9b 100644 (file)
@@ -146,15 +146,16 @@ class Atom10Feed extends XMLStringer
     }
 
     /**
-     * Add a activity feed subject via raw XML string
+     * Deprecated <activity:subject>; ignored
      *
      * @param string $xmlSubject An XML string representation of the subject
      *
      * @return void
      */
+
     function setActivitySubject($xmlSubject)
     {
-        $this->subject = $xmlSubject;
+        throw new ServerException(_('Don\'t use this method!'));
     }
 
     function getNamespaces()