Changeset - dd6e3441b4f4
default
0
2
0
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.
2 files changed with 6 insertions and 9 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)