ApiVisualEditorEdit: Remove unused variable $links

It was added in 78a52f1f80 (2014)
and apparently was never used?

Change-Id: I44a3305f805333f8ea3d35f4f937cc6210eb54eb
This commit is contained in:
Bartosz Dziewoński 2020-03-17 20:32:33 +01:00
parent 6d254de92e
commit 0039ca5bd3

View file

@ -108,7 +108,6 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
] );
$content = $result['parse']['text']['*'] ?? false;
$categorieshtml = $result['parse']['categorieshtml']['*'] ?? false;
$links = $result['parse']['links'] ?? [];
$revision = Revision::newFromId( $result['parse']['revid'] );
$timestamp = $revision ? $revision->getTimestamp() : wfTimestampNow();
$displaytitle = $result['parse']['displaytitle'] ?? false;