From bff63be512a0289d8d3278fe7510617be8b65cf4 Mon Sep 17 00:00:00 2001 From: n-aleha Date: Mon, 14 Apr 2014 17:36:13 +0300 Subject: [ticket/12397] Fix sql_unique_index_exists doc block db_tools::sql_unique_index_exists() searches for unique indexes but not primary key indexes. PHPBB3-12397 --- phpBB/includes/db/db_tools.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes') diff --git a/phpBB/includes/db/db_tools.php b/phpBB/includes/db/db_tools.php index 8dce769395..6913960185 100644 --- a/phpBB/includes/db/db_tools.php +++ b/phpBB/includes/db/db_tools.php @@ -875,7 +875,7 @@ class phpbb_db_tools } } - // Add unqiue indexes? + // Add unique indexes? if (!empty($schema_changes['add_unique_index'])) { foreach ($schema_changes['add_unique_index'] as $table => $index_array) @@ -1286,7 +1286,7 @@ class phpbb_db_tools } /** - * Check if a specified index exists in table. Does not return PRIMARY KEY and UNIQUE indexes. + * Check if a specified index exists in table. Does not return PRIMARY KEY indexes. * * @param string $table_name Table to check the index at * @param string $index_name The index name to check -- cgit v1.2.1