mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-08 04:29:23 -04:00
Cleanup merge of user/group helpers into Identity interface. Reduce redundant code in the user module and remove references to the Identity helper from the user module as the user module should be able to access things directly. Simplify the get_user_list api method to just accept an array of ids to return user objects for.
This commit is contained in:
@@ -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::get_edit_rules());
|
||||
$form->add_rules_from($user);
|
||||
|
||||
module::event("user_edit_form", $user, $form);
|
||||
$group->submit("")->value(t("Save"));
|
||||
|
||||
Reference in New Issue
Block a user