File tree Expand file tree Collapse file tree
libraries/classes/Controllers/Import Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,11 +31,9 @@ public function __construct(private Template $template)
3131 public function __invoke (ServerRequest $ request ): void
3232 {
3333 $ GLOBALS ['SESSION_KEY ' ] ??= null ;
34- $ GLOBALS ['upload_id ' ] ??= null ;
35- $ GLOBALS ['plugins ' ] ??= null ;
3634 $ GLOBALS ['timestamp ' ] ??= null ;
3735
38- [$ GLOBALS ['SESSION_KEY ' ], $ GLOBALS [ ' upload_id ' ], $ GLOBALS [ ' plugins ' ] ] = Ajax::uploadProgressSetup ();
36+ [$ GLOBALS ['SESSION_KEY ' ]] = Ajax::uploadProgressSetup ();
3937
4038 // $_GET["message"] is used for asking for an import message
4139 if ($ request ->hasQueryParam ('message ' )) {
Original file line number Diff line number Diff line change 21542154 </file>
21552155 <file src="libraries/classes/Controllers/Import/StatusController.php">
21562156 <InvalidArrayOffset>
2157- <code><![CDATA[$GLOBALS['plugins']]]></code>
21582157 <code><![CDATA[$GLOBALS['timestamp']]]></code>
2159- <code><![CDATA[$GLOBALS['upload_id']]]></code>
21602158 </InvalidArrayOffset>
21612159 <MixedArgument>
21622160 <code><![CDATA[$_SESSION['Import_message']['message'] ?? '']]></code>
21662164 <code><![CDATA[$_SESSION['Import_message']['message']]]></code>
21672165 </MixedArrayAssignment>
21682166 <MixedAssignment>
2169- <code><![CDATA[$GLOBALS['plugins']]]></code>
21702167 <code><![CDATA[$GLOBALS['timestamp']]]></code>
2171- <code><![CDATA[$GLOBALS['upload_id']]]></code>
21722168 </MixedAssignment>
21732169 <PossiblyUnusedMethod>
21742170 <code>__construct</code>
You can’t perform that action at this time.
0 commit comments