Merge "Use HTMLForm to generate the form on Special:ListFiles"
[lhc/web/wiklou.git] / includes / specials / SpecialRecentchangeslinked.php
index 9700638..3ad9f0f 100644 (file)
@@ -220,19 +220,11 @@ class SpecialRecentChangesLinked extends SpecialRecentChanges {
                return $res;
        }
 
-       protected function runMainQueryHook( &$tables, &$select, &$conds, &$query_options, &$join_conds, $opts ) {
-               return parent::runMainQueryHook( $tables, $select, $conds, $query_options, $join_conds, $opts )
-               && wfRunHooks(
-                       'SpecialRecentChangesQuery',
-                       array( &$conds, &$tables, &$join_conds, $opts, &$query_options, &$select ),
-                       '1.23'
-               );
-       }
-
        function setTopText( FormOptions $opts ) {
                $target = $this->getTargetTitle();
                if ( $target ) {
                        $this->getOutput()->addBacklinkSubtitle( $target );
+                       $this->getSkin()->setRelevantTitle( $target );
                }
        }