From 10104ba94ac7a70b2be3594cb769034582533e1f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 15 Nov 2008 08:23:07 +0000 Subject: - Patch #331570 by recidive: rename block module tables to singular. Requires you to run update.php. --- includes/database/database.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/database') diff --git a/includes/database/database.inc b/includes/database/database.inc index f6f0659c7..e9b2ff0b6 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -2313,7 +2313,7 @@ function db_affected_rows() { * Query to be rewritten. * @param $primary_table * Name or alias of the table which has the primary key field for this query. - * Typical table names would be: {blocks}, {comments}, {forum}, {node}, + * Typical table names would be: {block}, {comments}, {forum}, {node}, * {menu}, {term_data} or {vocabulary}. However, in most cases the usual * table alias (b, c, f, n, m, t or v) is used instead of the table name. * @param $primary_field @@ -2360,7 +2360,7 @@ function _db_rewrite_sql($query = '', $primary_table = 'n', $primary_field = 'ni * Query to be rewritten. * @param $primary_table * Name or alias of the table which has the primary key field for this query. - * Typical table names would be: {blocks}, {comments}, {forum}, {node}, + * Typical table names would be: {block}, {comments}, {forum}, {node}, * {menu}, {term_data} or {vocabulary}. However, it is more common to use the * the usual table aliases: b, c, f, n, m, t or v. * @param $primary_field -- cgit v1.2.3