Merge "Cleanup some incorrect return annotations"
[lhc/web/wiklou.git] / includes / specials / SpecialNewimages.php
index 98ff187..9e3a750 100644 (file)
@@ -55,6 +55,7 @@ class SpecialNewFiles extends IncludableSpecialPage {
                $this->opts = $opts;
 
                if ( !$this->including() ) {
+                       $this->setTopText();
                        $this->buildForm();
                }
 
@@ -107,7 +108,7 @@ class SpecialNewFiles extends IncludableSpecialPage {
                        unset( $formDescriptor['hidepatrolled'] );
                }
 
-               $form = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() )
+               HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() )
                        ->setWrapperLegendMsg( 'newimages-legend' )
                        ->setSubmitTextMsg( 'ilsubmit' )
                        ->setMethod( 'get' )