10 files changed, 48 insertions(+), 287 deletions(-)
This patch removes the category system from user edit pages. It also simplifies user rendering by removing a couple of custom theme elements and files (user-profile-category, user-profile-item). Category here is a holdover from profile.module which is out of core now. Future profile systems would be built upon Field API which currently has no notion of conditionally attaching to some forms and not others. If we get that, it would work for all entities, not just user. Also, most profile systems these days (i.e. Facebook) now use AJAX for partial profile edits.
Several large hunks just change indentation so I have left the indentation as is in this patch and left a TODO in its place. This makes for easier reviewing. I'd obviously finish this off prior to RTBC.
The motivation here is to cleanup the user entity in order for it to more smoothly fit into the upcoming expansion of the entity system (CRUD, ...).
|#48||category.diff||42.71 KB||moshe weitzman|
|PASSED: [[SimpleTest]]: [MySQL] 33,749 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch category_4.diff. This may be a -p0 (old style) patch, which is no longer supported by the testbots.|
|#40||category.diff||41.22 KB||moshe weitzman|
|PASSED: [[SimpleTest]]: [MySQL] 33,612 pass(es).|
|#38||pic.diff||40.52 KB||moshe weitzman|
|FAILED: [[SimpleTest]]: [MySQL] 33,286 pass(es), 20 fail(s), and 0 exception(es).|