From cadd9bd54ca9b3e5a95661c616d35a1a0045ab46 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 3 Dec 2008 16:32:22 +0000 Subject: - Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my. --- includes/database/database.inc | 4 ++-- includes/database/schema.inc | 2 +- includes/form.inc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/database/database.inc b/includes/database/database.inc index a25ed7ace..215e90ba9 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -2316,7 +2316,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: {block}, {comments}, {forum}, {node}, + * Typical table names would be: {block}, {comment}, {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 @@ -2363,7 +2363,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: {block}, {comments}, {forum}, {node}, + * Typical table names would be: {block}, {comment}, {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 diff --git a/includes/database/schema.inc b/includes/database/schema.inc index 7a8e64e7d..6384993d6 100644 --- a/includes/database/schema.inc +++ b/includes/database/schema.inc @@ -38,7 +38,7 @@ * References to other tables should be enclosed in * curly-brackets. For example, the node table vid field * description might contain "Always holds the largest (most - * recent) {node_revisions}.vid value for this nid." + * recent) {node_revision}.vid value for this nid." * - 'type': The generic datatype: 'varchar', 'int', 'serial' * 'float', 'numeric', 'text', 'blob' or 'datetime'. Most types * just map to the according database engine specific diff --git a/includes/form.inc b/includes/form.inc index e18262262..daa7bd8ae 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1786,7 +1786,7 @@ function form_process_radios($element) { * Add input format selector to text elements with the #input_format property. * * The #input_format property should be the ID of an input format, found in - * {filter_formats}.format, which gets passed to filter_form(). + * {filter_format}.format, which gets passed to filter_form(). * * If the property #input_format is set, the form element will be expanded into * two separate form elements, one holding the content of the element, and the -- cgit v1.2.3