Index: branches/iwtransclusion/phase3v3/includes/LinksUpdate.php |
— | — | @@ -380,13 +380,17 @@ |
381 | 381 | if ( count( $insertions ) ) { |
382 | 382 | if ( isset( $insertions['globaltemplatelinks'] ) ) { |
383 | 383 | $this->mDb->insert( 'globaltemplatelinks', $insertions['globaltemplatelinks'], __METHOD__, 'IGNORE' ); |
| 384 | + unset( $insertions['globaltemplatelinks'] ); |
384 | 385 | } |
385 | 386 | if ( isset( $insertions['globalnamespaces'] ) ) { |
386 | 387 | $this->mDb->insert( 'globalnamespaces', $insertions['globalnamespaces'], __METHOD__, 'IGNORE' ); |
| 388 | + unset( $insertions['globalnamespaces'] ); |
387 | 389 | } |
388 | 390 | if ( isset( $insertions['globalinterwiki'] ) ) { |
389 | 391 | $this->mDb->insert( 'globalinterwiki', $insertions['globalinterwiki'], __METHOD__, 'IGNORE' ); |
| 392 | + unset( $insertions['globalinterwiki'] ); |
390 | 393 | } |
| 394 | + $this->mDb->insert( $table, $insertions, __METHOD__, 'IGNORE' ); |
391 | 395 | } |
392 | 396 | } |
393 | 397 | |