Following r100264, update usages in core
[lhc/web/wiklou.git] / includes / diff / DifferenceEngine.php
index a90fe76..08bc392 100644 (file)
@@ -435,7 +435,7 @@ class DifferenceEngine extends ContextSource {
                                // Build the link
                                if ( $rcid ) {
                                        $this->getOutput()->preventClickjacking();
-                                       $token = $this->getUser()->editToken( $rcid );
+                                       $token = $this->getUser()->getEditToken( $rcid );
                                        $this->mMarkPatrolledLink = ' <span class="patrollink">[' . Linker::linkKnown(
                                                $this->mNewPage,
                                                $this->msg( 'markaspatrolleddiff' )->escaped(),
@@ -530,7 +530,7 @@ class DifferenceEngine extends ContextSource {
 
                                $parserOutput = false;
                                if ( $useParserCache ) {
-                                       $parserOutput = ParserCache::singleton()->get( $wikiPage, $out->parserOptions() );
+                                       $parserOutput = ParserCache::singleton()->get( $wikiPage, $parserOptions );
                                }
 
                                if( $parserOutput ) {