Commit 807704e1 authored by Dries's avatar Dries
Browse files

- Patch #757484 by catch: optimize node_save().

parent 7cc02cfb
......@@ -1074,7 +1074,7 @@ function node_save($node) {
// Update the node access table for this node. There's no need to delete
// existing records if the node is new.
$delete = $op == 'insert';
$delete = $op == 'update';
node_access_acquire_grants($node, $delete);
// Clear internal properties.
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