r100931 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100930‎ | r100931 | r100932 >
Date:01:35, 27 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Minor code style cleanups
Modified paths:
  • /trunk/phase3/tests/parser/parserTest.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/parser/parserTest.inc
@@ -709,8 +709,9 @@
710710 'archive', 'user_groups', 'page_props', 'category', 'msg_resource', 'msg_resource_links'
711711 );
712712
713 - if ( in_array( $this->db->getType(), array( 'mysql', 'sqlite', 'oracle' ) ) )
 713+ if ( in_array( $this->db->getType(), array( 'mysql', 'sqlite', 'oracle' ) ) ) {
714714 array_push( $tables, 'searchindex' );
 715+ }
715716
716717 // Allow extensions to add to the list of tables to duplicate;
717718 // may be necessary if they hook into page save or other code
@@ -760,10 +761,8 @@
761762 $this->dbClone->useTemporaryTables( $temporary );
762763 $this->dbClone->cloneTableStructure();
763764
764 - if ( $dbType == 'oracle' )
765 - $this->db->query( 'BEGIN FILL_WIKI_INFO; END;' );
766 -
767765 if ( $dbType == 'oracle' ) {
 766+ $this->db->query( 'BEGIN FILL_WIKI_INFO; END;' );
768767 # Insert 0 user to prevent FK violations
769768
770769 # Anonymous user

Status & tagging log