]> git.mxchange.org Git - friendica.git/blobdiff - src/LegacyModule.php
Update src/App/ModuleController.php
[friendica.git] / src / LegacyModule.php
index 5f0cc3103cc4f0a7f02ec5ed04ba40b237a52801..53f76766044cde16a55f9d17ccd6bbc0f7d2b7d7 100644 (file)
@@ -76,11 +76,6 @@ class LegacyModule extends BaseModule
                $this->runModuleFunction('post');
        }
 
-       public function afterpost()
-       {
-               $this->runModuleFunction('afterpost');
-       }
-
        /**
         * Runs the module function designated by the provided suffix if it exists, the BaseModule method otherwise
         *
@@ -96,7 +91,7 @@ class LegacyModule extends BaseModule
                        $a = DI::app();
                        return $function_name($a);
                } else {
-                       return parent::{$function_suffix}($this->parameters);
+                       return parent::{$function_suffix}();
                }
        }
 }