Files
@ dd6e3441b4f4
Branch filter:
Location: kallithea/kallithea/templates/pullrequests/pullrequest_data.html
dd6e3441b4f4
3.0 KiB
text/html
cleanup: remove redundant database loads
Don't take a database object, grab its ID, then use the ID to load
the same database object once again. This also applies to creating
AuthUser objects, which will happily take a User object instead of
a user_id.
Don't take a database object, grab its ID, then use the ID to load
the same database object once again. This also applies to creating
AuthUser objects, which will happily take a User object instead of
a user_id.