It's kind of crazy to be passing around an account object for a pad object. Instead, we should just set it when creating or loading the pad. Since I can't think of a use case to load a pad as one user, and then save it as another during the same page request, I've left out set / get methods. Of course, the property is public, so it can be changed if needed.

CommentFileSizeAuthor
hackpad-user.patch4.45 KBdeviantintegral

Comments

deviantintegral’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)

I've committed this patch to 7.x in 976bd63.