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

Minor efficiency improvement for editing and deleting #973

Open
wants to merge 1 commit into
base: stable8.2
Choose a base branch
from

Conversation

DavidShepherdson
Copy link

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