Merge "Stop warnings about calling FlaggablePageView::setPageContent with no parameters"

This commit is contained in:
jenkins-bot 2014-11-17 17:47:37 +00:00 committed by Gerrit Code Review
commit 20e54e1c8f

View file

@ -139,7 +139,11 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
) + $this->getRequest()->getValues()
) );
$view->setPageContent();
// The two parameters here are references but we don't care
// about what FlaggedRevs does with them.
$outputDone = null;
$useParserCache = null;
$view->setPageContent( $outputDone, $useParserCache );
$view->displayTag();
}
$result['contentSub'] = $this->getOutput()->getSubtitle();