]> git.mxchange.org Git - friendica.git/blobdiff - src/LegacyModule.php
Don't count the system user on the administration page
[friendica.git] / src / LegacyModule.php
index f0dfe0e01522d9e68ab796f448e9d66e96c7b9e2..17853015e611500c1b5b2cbe7204b172fc03c90d 100644 (file)
@@ -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');
        }