Skip to content
This repository was archived by the owner on Oct 31, 2018. It is now read-only.

Minor efficiency improvement for editing and deleting#973

Open
DavidShepherdson wants to merge 1 commit intoowncloud-archive:stable8.2from
DavidShepherdson:stable8.2
Open

Minor efficiency improvement for editing and deleting#973
DavidShepherdson wants to merge 1 commit intoowncloud-archive:stable8.2from
DavidShepherdson:stable8.2

Conversation

@DavidShepherdson
Copy link
Copy Markdown

While debugging a problem I was having (caused by some bad calendar data, I think), I happened to notice that the code for deleting and editing was reading/parsing the existing calendar data in circumstances where it isn't actually being used. Moving the call into the if block means this is only done when the $oldvobject will be needed.

…calendar data unless it's actually going to be used for something. Makes for a performance improvement when the user doing the deleting or editing is the calendar's owner anyway.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant