mirror of
https://github.com/friendica/friendica
synced 2024-12-31 22:42:21 +00:00
remove unused parameter
This commit is contained in:
parent
a0da648214
commit
8f66cbee91
1 changed files with 1 additions and 6 deletions
|
@ -155,12 +155,7 @@ class Addon
|
||||||
@include_once($addon_file_path);
|
@include_once($addon_file_path);
|
||||||
if (function_exists($addon . '_install')) {
|
if (function_exists($addon . '_install')) {
|
||||||
$func = $addon . '_install';
|
$func = $addon . '_install';
|
||||||
|
$func();
|
||||||
// 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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DI::config()->set('addons', $addon, [
|
DI::config()->set('addons', $addon, [
|
||||||
|
|
Loading…
Reference in a new issue