n2cms/n2cms — pull request #44 by GrimaceOfDespair (2012-04-20 12:55:04+00:00)
Title: Do not modify AlteredPermissions when they are not set. This hopefully p...

...revents N2 from saving items that were fetched but not modified. Especially in the case of lazy loaded collections (like Children), this should improve performance, because N2 tends to implicitly load these nodes. All these implicitly loaded collections would be saved on a closing transaction because the AlteredPermissions were suddenly set.

I'm not sure why the line existed in the first place, but it might have solved a case that's not applicable anymore. Unit tests are green anyway.