Index: trunk/phase3/includes/installer/DatabaseUpdater.php |
— | — | @@ -432,7 +432,7 @@ |
433 | 433 | * @param $patch String Path to the patch file |
434 | 434 | * @param $fullpath Boolean Whether to treat $patch path as a relative or not |
435 | 435 | */ |
436 | | - public function addIndex( $table, $index, $patch, $fullpath = false ) { |
| 436 | + protected function addIndex( $table, $index, $patch, $fullpath = false ) { |
437 | 437 | if ( $this->db->indexExists( $table, $index ) ) { |
438 | 438 | $this->output( "...$index key already set on $table table.\n" ); |
439 | 439 | } else { |
— | — | @@ -468,7 +468,7 @@ |
469 | 469 | * @param $patch String: Path to the patch file |
470 | 470 | * @param $fullpath Boolean: Whether to treat $patch path as a relative or not |
471 | 471 | */ |
472 | | - public function dropIndex( $table, $index, $patch, $fullpath = false ) { |
| 472 | + protected function dropIndex( $table, $index, $patch, $fullpath = false ) { |
473 | 473 | if ( $this->db->indexExists( $table, $index ) ) { |
474 | 474 | $this->output( "Dropping $index from table $table... " ); |
475 | 475 | $this->applyPatch( $patch, $fullpath ); |