]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apifavoritedestroy.php
Added an option to TinyMCE plugin to restrict the rich-text editor to users who have...
[quix0rs-gnu-social.git] / actions / apifavoritedestroy.php
index c4daf480e6f9bd5ab1cd812d0a9b45bbbf92eb1e..c2e1ebafc7a5d5703455a558a326ec747d23e08f 100644 (file)
@@ -25,6 +25,7 @@
  * @author    Evan Prodromou <evan@status.net>
  * @author    Zach Copley <zach@status.net>
  * @copyright 2009 StatusNet, Inc.
+ * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link      http://status.net/
  */
@@ -88,6 +89,7 @@ class ApiFavoriteDestroyAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format