]> git.mxchange.org Git - friendica.git/commitdiff
Remove App dependency from addon admin form method
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 15 Jan 2023 14:42:18 +0000 (09:42 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 15 Jan 2023 14:42:18 +0000 (09:42 -0500)
src/Module/Admin/Addons/Details.php

index 9bca70a203a4a758e6e4fdab926946065dbcfd1f..6786d89eea1fc4f0db428ed8bf373971b7e41e26 100644 (file)
@@ -102,7 +102,7 @@ class Details extends BaseAdmin
                if (array_key_exists($addon, $addons_admin)) {
                        require_once "addon/$addon/$addon.php";
                        $func = $addon . '_addon_admin';
-                       $func($a, $admin_form);
+                       $func($admin_form);
                }
 
                $t = Renderer::getMarkupTemplate('admin/addons/details.tpl');