summaryrefslogtreecommitdiff
path: root/includes/database.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-07-01 21:39:07 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-07-01 21:39:07 +0000
commita1a556b8c1904e624650059e7091f6864119cf65 (patch)
tree33eb4310ea411a63a7e03b1156039d0837ff7e62 /includes/database.inc
parentb33070d1762aa9f29bea0d6b286713dfad3bc461 (diff)
downloadbrdo-a1a556b8c1904e624650059e7091f6864119cf65.tar.gz
brdo-a1a556b8c1904e624650059e7091f6864119cf65.tar.bz2
#155282 by Jose A Reyero: apply db_rewrite_sql() to the block listing query to allow for multilingual blocks
Diffstat (limited to 'includes/database.inc')
-rw-r--r--includes/database.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/database.inc b/includes/database.inc
index 593a4f329..b4bda22b4 100644
--- a/includes/database.inc
+++ b/includes/database.inc
@@ -194,7 +194,9 @@ define('DB_QUERY_REGEXP', '/(%d|%s|%%|%f|%b)/');
* @param $query
* Query to be rewritten.
* @param $primary_table
- * Name or alias of the table which has the primary key field for this query. Possible values are: comments, forum, node, menu, term_data, vocabulary.
+ * Name or alias of the table which has the primary key field for this query.
+ * Possible values are: blocks, comments, forum, node, menu, term_data,
+ * vocabulary.
* @param $primary_field
* Name of the primary field.
* @param $args