From 8f66cbee9121264466822e221f70aaaf527f2939 Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 28 Nov 2024 08:26:26 +0000 Subject: [PATCH] remove unused parameter --- src/Core/Addon.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Core/Addon.php b/src/Core/Addon.php index 8ed5cc8512..1119f2d392 100644 --- a/src/Core/Addon.php +++ b/src/Core/Addon.php @@ -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, [