mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Merge "Remove an unused piece of code from ApiVisualEditor"
This commit is contained in:
commit
0d0ef6071f
|
@ -296,7 +296,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
$wikitext = $params['wikitext'] ?? null;
|
||||
if ( $wikitext !== null ) {
|
||||
$stash = $params['stash'];
|
||||
$section = $section = $params['section'] ?? null;
|
||||
$section = $params['section'] ?? null;
|
||||
if ( $params['pst'] ) {
|
||||
$wikitext = $this->pstWikitext( $title, $wikitext );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue