Commit d9cc13e9 authored by Dries's avatar Dries

- Patch #118108 by bleen18: node delete does not clean up node_access() table.

parent add6d63d
......@@ -1193,6 +1193,9 @@ function node_delete_multiple($nids) {
db_delete('history')
->condition('nid', $nids, 'IN')
->execute();
db_delete('node_access')
->condition('nid', $nids, 'IN')
->execute();
// Clear the page and block and node_load_multiple caches.
cache_clear_all();
......
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