From: Sam Reed Date: Mon, 28 Nov 2011 15:19:20 +0000 (+0000) Subject: Bump MySQL version to 5.0.2 after r104047 X-Git-Tag: 1.31.0-rc.0~26252 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=6553e3afbcb9e26121e70ed48781e8cd0e8e8075;p=lhc%2Fweb%2Fwiklou.git Bump MySQL version to 5.0.2 after r104047 Documentation --- diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 3926365585..265617b68c 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -222,7 +222,7 @@ DB2 and Microsoft SQL Server. The supported versions are: -* MySQL 4.0 or later +* MySQL 5.0.2 or later * PostgreSQL 8.3 or later * SQLite 3 * Oracle 9.0.1 or later diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 5a9202e34f..52577ccf21 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -81,6 +81,9 @@ if ( !function_exists( 'istainted' ) ) { /** * Like array_diff( $a, $b ) except that it works with two-dimensional arrays. + * @param $a array + * @param $b array + * @return array */ function wfArrayDiff2( $a, $b ) { return array_udiff( $a, $b, 'wfArrayDiff2_cmp' );