mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
ApiVisualEditorEdit: Remove unused variable $links
It was added in 78a52f1f80
(2014)
and apparently was never used?
Change-Id: I44a3305f805333f8ea3d35f4f937cc6210eb54eb
This commit is contained in:
parent
6d254de92e
commit
0039ca5bd3
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue