aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
authorn-aleha <nick_aleha@myway.com>2014-04-14 17:36:13 +0300
committern-aleha <nick_aleha@myway.com>2014-04-16 00:55:05 +0300
commitbff63be512a0289d8d3278fe7510617be8b65cf4 (patch)
tree3a2a253b273174df0a5c1b1dc3b2d08149a6fd66 /phpBB/includes/db
parente64c2326bdf36ac071f07881d4ca5aba202e6249 (diff)
downloadforums-bff63be512a0289d8d3278fe7510617be8b65cf4.tar
forums-bff63be512a0289d8d3278fe7510617be8b65cf4.tar.gz
forums-bff63be512a0289d8d3278fe7510617be8b65cf4.tar.bz2
forums-bff63be512a0289d8d3278fe7510617be8b65cf4.tar.xz
forums-bff63be512a0289d8d3278fe7510617be8b65cf4.zip
[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
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/db_tools.php4
1 files changed, 2 insertions, 2 deletions
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