]> git.mxchange.org Git - friendica.git/blobdiff - src/LegacyModule.php
Configuration for logging added
[friendica.git] / src / LegacyModule.php
index f0dfe0e01522d9e68ab796f448e9d66e96c7b9e2..22d393ef9eda1e5706360e209efc74dc264cfcc6 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
  *
@@ -68,14 +68,14 @@ class LegacyModule extends BaseModule
                require_once $file_path;
        }
 
-       public function content(array $request = []): string
+       protected function content(array $request = []): string
        {
                return $this->runModuleFunction('content');
        }
 
-       public function post(array $request = [], array $post = [])
+       protected function post(array $request = [])
        {
-               parent::post($post);
+               parent::post($request);
 
                $this->runModuleFunction('post');
        }