Changeset - 533ec10dfd59
default
0
2
0
pullrequests: refactor PullRequestModel().create
The database lookups of the user and repositories are moved outside,
into the callers, which have already looked up the relevant objects,
thus saving two database lookups when creating a PR.
The database lookups of the user and repositories are moved outside,
into the callers, which have already looked up the relevant objects,
thus saving two database lookups when creating a PR.
2 files changed with 26 insertions and 33 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)