stable

Clone or download

Read-only

request #10099: Remove unnecessary call to diffToPrevious

You can assert that this is better with blackfire/xdebug profile. For example: 3 follow-up comments in the artifact: 7 → 4 calls 10 follow-up comments in the artifact: 28 → 11 calls Change-Id: I3aaba991c7fdf1f3099c8a7ddb76a018f47d1e3d

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Presenter/FollowUpCommentsPresenter.php +27 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +3 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +17 −12 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Null.class.php +13 −7 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Followup_Item.class.php +17 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_PriorityHistoryChange.class.php +19 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/View/Edit.class.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker_Artifact_ChangesetTest.php +20 −26 Go to diff View file