Merge "ApiComparePages: Don't error with no prev/next rev"
[lhc/web/wiklou.git] / includes / export / DumpFilter.php
index 5c27658..088c7b1 100644 (file)
@@ -42,7 +42,7 @@ class DumpFilter {
        protected $sendingThisPage;
 
        /**
-        * @param DumpOutput $sink
+        * @param DumpOutput &$sink
         */
        function __construct( &$sink ) {
                $this->sink =& $sink;
@@ -67,7 +67,7 @@ class DumpFilter {
         * @param string $string
         */
        function writeOpenPage( $page, $string ) {
-               $this->sendingThisPage = $this->pass( $page, $string );
+               $this->sendingThisPage = $this->pass( $page );
                if ( $this->sendingThisPage ) {
                        $this->sink->writeOpenPage( $page, $string );
                }