Remove comments related to no longer existent and relevant compatibility function...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 2 Oct 2010 22:42:44 +0000 (22:42 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 2 Oct 2010 22:42:44 +0000 (22:42 +0000)
includes/LinksUpdate.php

index 4892ff0..c80c07d 100644 (file)
@@ -351,8 +351,6 @@ class LinksUpdate {
        function getLinkInsertions( $existing = array() ) {
                $arr = array();
                foreach( $this->mLinks as $ns => $dbkeys ) {
-                       # array_diff_key() was introduced in PHP 5.1, there is a compatibility function
-                       # in GlobalFunctions.php
                        $diffs = isset( $existing[$ns] ) ? array_diff_key( $dbkeys, $existing[$ns] ) : $dbkeys;
                        foreach ( $diffs as $dbk => $id ) {
                                $arr[] = array(
@@ -515,8 +513,6 @@ class LinksUpdate {
        function getInterwikiInsertions( $existing = array() ) {
                $arr = array();
                foreach( $this->mInterwikis as $prefix => $dbkeys ) {
-                       # array_diff_key() was introduced in PHP 5.1, there is a compatibility function
-                       # in GlobalFunctions.php
                        $diffs = isset( $existing[$prefix] ) ? array_diff_key( $dbkeys, $existing[$prefix] ) : $dbkeys;
                        foreach ( $diffs as $dbk => $id ) {
                                $arr[] = array(
@@ -529,8 +525,6 @@ class LinksUpdate {
                return $arr;
        }
 
-
-
        /**
         * Given an array of existing links, returns those links which are not in $this
         * and thus should be deleted.