From 6553e3afbcb9e26121e70ed48781e8cd0e8e8075 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 28 Nov 2011 15:19:20 +0000 Subject: [PATCH] Bump MySQL version to 5.0.2 after r104047 Documentation --- RELEASE-NOTES-1.19 | 2 +- includes/GlobalFunctions.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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' ); -- 2.20.1