]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'master' into nightly
authorRoland Haeder <roland@mxchange.org>
Sun, 15 Feb 2015 21:45:04 +0000 (22:45 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 15 Feb 2015 21:45:04 +0000 (22:45 +0100)
Conflicts:
actions/apiaccountverifycredentials.php
actions/apimediaupload.php
actions/logout.php
actions/public.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
1  2 
actions/apiaccountverifycredentials.php
actions/apimediaupload.php

index 4835a2ca63f0018171a98b2c3b89ce9a50c2e883,12daf3e1e6fe68150ea652154ee420bf32bf0ba8..f82060f54730d61c7ea6698256b7ea1573bebf0b
@@@ -53,12 -53,11 +53,11 @@@ class ApiAccountVerifyCredentialsActio
       *
       * Check whether the credentials are valid and output the result
       *
-      * @param array $args $_REQUEST data (unused)
       * @return void
       */
-     protected function handle(array $args=array())
+     protected function handle()
      {
 -        parent::handle();
 +        parent::handle($args);
  
          if (!in_array($this->format, array('xml', 'json'))) {
              // TRANS: Client error displayed when coming across a non-supported API method.
index 7cc01359d42f034130dc8447614055171df017cd,8580b209a541893c0a699c32660a1ae2835dd751..b675478cf67dcadde4fc33e476e082c78a231493
@@@ -48,14 -48,11 +48,11 @@@ class ApiMediaUploadAction extends ApiA
       * Grab the file from the 'media' param, then store, and shorten
       *
       * @todo Upload throttle!
-      *
-      * @param array $args $_REQUEST data (unused)
-      *
       * @return void
       */
-     protected function handle(array $args=array())
+     protected function handle()
      {
 -        parent::handle();
 +        parent::handle($args);
  
          // Workaround for PHP returning empty $_POST and $_FILES when POST
          // length > post_max_size in php.ini