diff --git a/libraries/classes/Controllers/Import/StatusController.php b/libraries/classes/Controllers/Import/StatusController.php index b78dfd44d3..ccea4e3008 100644 --- a/libraries/classes/Controllers/Import/StatusController.php +++ b/libraries/classes/Controllers/Import/StatusController.php @@ -31,11 +31,9 @@ class StatusController public function __invoke(ServerRequest $request): void { $GLOBALS['SESSION_KEY'] ??= null; - $GLOBALS['upload_id'] ??= null; - $GLOBALS['plugins'] ??= null; $GLOBALS['timestamp'] ??= null; - [$GLOBALS['SESSION_KEY'], $GLOBALS['upload_id'], $GLOBALS['plugins']] = Ajax::uploadProgressSetup(); + [$GLOBALS['SESSION_KEY']] = Ajax::uploadProgressSetup(); // $_GET["message"] is used for asking for an import message if ($request->hasQueryParam('message')) { diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 7c7f49cdfa..f95c98df75 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -2154,9 +2154,7 @@ - - @@ -2166,9 +2164,7 @@ - - __construct