diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-15 10:44:25 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-16 08:53:30 -0700 |
| commit | be6765336eb894535d62055fab577dfc951b6b6a (patch) | |
| tree | 190fbb38db35729d008237b7e9936a95bfdbfeb1 /modules/user/controllers/users.php | |
| parent | 9e833c9443bee5230ab0dbdf7f800d34287a84ce (diff) | |
Finish integrating the move of the user edit/update functions into the user module. The premise is that the plugable user module will provide the update screens if the user backend supports updates.
Diffstat (limited to 'modules/user/controllers/users.php')
| -rw-r--r-- | modules/user/controllers/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/controllers/users.php b/modules/user/controllers/users.php index b03a47cc..7c2e7833 100644 --- a/modules/user/controllers/users.php +++ b/modules/user/controllers/users.php @@ -77,7 +77,7 @@ class Users_Controller extends Controller { ->matches($group->password); $group->input("email")->label(t("Email"))->id("g-email")->value($user->email); $group->input("url")->label(t("URL"))->id("g-url")->value($user->url); - $form->add_rules_from($user); + $form->add_rules_from(user::get_edit_rules()); module::event("user_edit_form", $user, $form); $group->submit("")->value(t("Save")); |
