Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php |
— | — | @@ -286,7 +286,7 @@ |
287 | 287 | ); |
288 | 288 | $this->tablesJob = array(); |
289 | 289 | // See if this is for large tables on large, busy, wikis |
290 | | - if( wfQueriesMustScale() ) { |
| 290 | + if( function_exists('wfQueriesMustScale') && wfQueriesMustScale() ) { |
291 | 291 | $this->tablesJob['revision'] = array('rev_user_text','rev_id'); |
292 | 292 | $this->tablesJob['recentchanges'] = array('rc_user_text','rc_id'); |
293 | 293 | } else { |