Closed (fixed)
Project:
Drupal core
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Mar 2005 at 10:09 UTC
Updated:
19 Mar 2005 at 11:15 UTC
jonbob node_access_view_all patch changed the return value of node_access_where_sql to empty which breaks nicely all queries which are still using this function. This is a good incentive to upgrade to db_rewrite_sql, yes, but I think it causes confusion, 'cos it is not really trivial why the query suddenly not works. Let's make it trivial -- rename it _node_access_where_sql, it is no longer a function to be called from outside. node_access_join_sql similarly.
| Comment | File | Size | Author |
|---|---|---|---|
| node_access_inter_name.patch | 1.21 KB | chx |
Comments
Comment #1
dries commentedGood idea. Committed to HEAD. Thanks chx.
Comment #2
(not verified) commented