]> git.mxchange.org Git - friendica.git/commitdiff
remove unused parameter
authorArt4 <art4@wlabs.de>
Thu, 28 Nov 2024 08:26:26 +0000 (08:26 +0000)
committerArt4 <art4@wlabs.de>
Thu, 28 Nov 2024 08:26:26 +0000 (08:26 +0000)
src/Core/Addon.php

index 8ed5cc8512476e65c5297de5e6cdc8b759d6fd41..1119f2d3927c632dddf625e1c131da5b6e469aa3 100644 (file)
@@ -155,12 +155,7 @@ class Addon
                @include_once($addon_file_path);
                if (function_exists($addon . '_install')) {
                        $func = $addon . '_install';
-
-                       // Addon webdav_storage has an unused but required parameter.
-                       // @TODO: Remove $param after the required parameter is removed.
-                       // See https://github.com/friendica/friendica-addons/pull/1364
-                       $param = null;
-                       $func($param);
+                       $func();
                }
 
                DI::config()->set('addons', $addon, [