Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2009 at 08:13 UTC
Updated:
3 Dec 2015 at 22:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berdirdb_rewrite_sql will be removed from D7. Instead, you can use hook_query_alter, see http://drupal.org/node/310077.
A link for D6:
http://drupal.org/node/93737
Basicallly, db_rewrite_sql allows other modules to change the query, mostly for access permissions, for example a node list.
Comment #2
jhodgdonThis function doc header should have more information, for the Drupal 6 version. It is pointless to fix it in Drupal 7, since (as noted above) the function itself is going away.
It may also be pointless to propose a patch for Drupal 6, since it doesn't seem that such patches are ever being committed to the code base. Sigh.
Comment #3
jhodgdonHere's a patch to clean up this documentation.
Comment #4
jhodgdonForgot status...
Comment #5
smyleeface commentedLooks good; just added a blank line between all the @param and @return.
Comment #6
joachim commentedLooks good.
Though there's a typo: 'collectes'.
Comment #7
jhodgdonI am cleaning up old 6.x documentation issues. At this point, we are not spending effort fixing them. Sorry.