ApiVisualEditorEdit: Remove use of deprecated 'modulescripts'

It's unused and always empty, as of MediaWiki 1.33 (c6f34408).

Change-Id: I7997e8dcc5ce7221cf5586173dbb0fe62f9a7953
This commit is contained in:
Bartosz Dziewoński 2020-03-17 20:31:45 +01:00
parent d6de945517
commit 6d254de92e

View file

@ -113,7 +113,6 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
$timestamp = $revision ? $revision->getTimestamp() : wfTimestampNow();
$displaytitle = $result['parse']['displaytitle'] ?? false;
$modules = array_merge(
$result['parse']['modulescripts'] ?? [],
$result['parse']['modules'] ?? [],
$result['parse']['modulestyles'] ?? []
);