Merge "Fix hook documentation for UploadFormSourceDescriptors"
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index c558c2b..d943c86 100644 (file)
@@ -1203,10 +1203,6 @@ class ApiMain extends ApiBase {
                        // Create an appropriate printer
                        $this->mPrinter = $this->createPrinterByName( $params['format'] );
                }
-
-               if ( $this->mPrinter->getNeedsRawData() ) {
-                       $this->getResult()->setRawMode();
-               }
        }
 
        /**