Commit 7a800fb8 authored by Dries's avatar Dries
Browse files

- Patch #124727 by Moshe: node_access_rebuild should reuse the update facility to reload itself.

parent 649e1da4
......@@ -2868,7 +2868,7 @@ function node_access_rebuild() {
}
$result = db_query("SELECT nid FROM {node}");
while ($node = db_fetch_object($result)) {
node_access_acquire_grants(node_load($node->nid));
node_access_acquire_grants(node_load($node->nid, NULL, TRUE));
}
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment