summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-03 16:32:22 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-03 16:32:22 +0000
commitcadd9bd54ca9b3e5a95661c616d35a1a0045ab46 (patch)
tree6594d689ccf40b86fc16cf7f628ef06fa7ee50c7 /includes
parent5c72eb294ab1527b8da1b261cfbffeeb7ff98c9f (diff)
downloadbrdo-cadd9bd54ca9b3e5a95661c616d35a1a0045ab46.tar.gz
brdo-cadd9bd54ca9b3e5a95661c616d35a1a0045ab46.tar.bz2
- Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my.
Diffstat (limited to 'includes')
-rw-r--r--includes/database/database.inc4
-rw-r--r--includes/database/schema.inc2
-rw-r--r--includes/form.inc2
3 files changed, 4 insertions, 4 deletions
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