mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -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:
@@ -191,22 +191,8 @@ class Identity_Core {
|
||||
/**
|
||||
* @see Identity_Driver::get_user_list.
|
||||
*/
|
||||
static function get_user_list($filter=array()) {
|
||||
return self::instance()->driver->get_user_list($filter);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Identity_Driver::get_group_list.
|
||||
*/
|
||||
static function get_group_list($filter=array()) {
|
||||
return self::instance()->driver->get_group_list($filter);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Identity_Driver::get_edit_rules.
|
||||
*/
|
||||
static function get_edit_rules($object_type) {
|
||||
return self::instance()->driver->get_edit_rules($object_type);
|
||||
static function get_user_list($ids) {
|
||||
return self::instance()->driver->get_user_list($ids);
|
||||
}
|
||||
|
||||
static function get_login_form($url) {
|
||||
|
||||
Reference in New Issue
Block a user