Index: trunk/phase3/includes/LinksUpdate.php |
— | — | @@ -351,8 +351,6 @@ |
352 | 352 | function getLinkInsertions( $existing = array() ) { |
353 | 353 | $arr = array(); |
354 | 354 | foreach( $this->mLinks as $ns => $dbkeys ) { |
355 | | - # array_diff_key() was introduced in PHP 5.1, there is a compatibility function |
356 | | - # in GlobalFunctions.php |
357 | 355 | $diffs = isset( $existing[$ns] ) ? array_diff_key( $dbkeys, $existing[$ns] ) : $dbkeys; |
358 | 356 | foreach ( $diffs as $dbk => $id ) { |
359 | 357 | $arr[] = array( |
— | — | @@ -515,8 +513,6 @@ |
516 | 514 | function getInterwikiInsertions( $existing = array() ) { |
517 | 515 | $arr = array(); |
518 | 516 | foreach( $this->mInterwikis as $prefix => $dbkeys ) { |
519 | | - # array_diff_key() was introduced in PHP 5.1, there is a compatibility function |
520 | | - # in GlobalFunctions.php |
521 | 517 | $diffs = isset( $existing[$prefix] ) ? array_diff_key( $dbkeys, $existing[$prefix] ) : $dbkeys; |
522 | 518 | foreach ( $diffs as $dbk => $id ) { |
523 | 519 | $arr[] = array( |
— | — | @@ -529,8 +525,6 @@ |
530 | 526 | return $arr; |
531 | 527 | } |
532 | 528 | |
533 | | - |
534 | | - |
535 | 529 | /** |
536 | 530 | * Given an array of existing links, returns those links which are not in $this |
537 | 531 | * and thus should be deleted. |