diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-15 08:23:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-15 08:23:07 +0000 |
commit | 10104ba94ac7a70b2be3594cb769034582533e1f (patch) | |
tree | 343f80cc45db74bee38b959b601875f22af2b532 /includes/database/database.inc | |
parent | 4595edbfc8930ce84e374dc6183266dab7dbecfd (diff) | |
download | brdo-10104ba94ac7a70b2be3594cb769034582533e1f.tar.gz brdo-10104ba94ac7a70b2be3594cb769034582533e1f.tar.bz2 |
- Patch #331570 by recidive: rename block module tables to singular. Requires you to run update.php.
Diffstat (limited to 'includes/database/database.inc')
-rw-r--r-- | includes/database/database.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |