]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountupdatedeliverydevice.php
Merge branch 'genericons-fix' into 'nightly'
[quix0rs-gnu-social.git] / actions / apiaccountupdatedeliverydevice.php
index a3cbb418b65d60c899ca865fbbe9a34efcbc69e1..549ab5243aa9e7e337b3971eb9b8f9d2b0e1314d 100644 (file)
@@ -54,7 +54,7 @@ class ApiAccountUpdateDeliveryDeviceAction extends ApiAuthAction
      *
      * @return boolean success flag
      */
-    function prepare($args)
+    function prepare(array $args = array())
     {
         parent::prepare($args);
 
@@ -73,9 +73,9 @@ class ApiAccountUpdateDeliveryDeviceAction extends ApiAuthAction
      *
      * @return void
      */
-    function handle($args)
+    function handle()
     {
-        parent::handle($args);
+        parent::handle();
 
         if (!in_array($this->format, array('xml', 'json'))) {
             $this->clientError(