]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RemoteFollow.php
Add constructors to a couple of Mastodon API value objects
[friendica.git] / src / Module / RemoteFollow.php
index ee2dcfe4dcf7b816b9f181844d4939bff14ac172..130c76319c12b43c073d3fd7bcd9971a0f5e6825 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -61,7 +61,7 @@ class RemoteFollow extends BaseModule
                $this->page    = $page;
        }
 
-       protected function post(array $request = [], array $post = [])
+       protected function post(array $request = [])
        {
                if (!empty($_POST['cancel']) || empty($_POST['dfrn_url'])) {
                        $this->baseUrl->redirect();