diff --git a/main/admin/index.php b/main/admin/index.php index 78eedf0362..7207587d41 100644 --- a/main/admin/index.php +++ b/main/admin/index.php @@ -107,8 +107,6 @@ if (api_is_platform_admin()) { array('url' => 'user_import.php', 'label' => get_lang('ImportUserListXMLCSV')), array('url' => 'user_update_import.php', 'label' => get_lang('EditUserListCSV')), ); - //$items[] = array('url' => 'group_add.php', 'label' => get_lang('AddGroups')); - //$items[] = array('url' => 'group_list.php', 'label' => get_lang('GroupList')); if (isset($extAuthSource) && isset($extAuthSource['extldap']) && count($extAuthSource['extldap']) > 0) { $items[] = array('url' => 'ldap_users_list.php', 'label' => get_lang('ImportLDAPUsersIntoPlatform')); diff --git a/main/inc/lib/group_portal_manager.lib.php b/main/inc/lib/group_portal_manager.lib.php index 4df40e9222..d0bb1275a1 100755 --- a/main/inc/lib/group_portal_manager.lib.php +++ b/main/inc/lib/group_portal_manager.lib.php @@ -975,6 +975,7 @@ class GroupPortalManager * with dirname() or the file with basename(). This also works for the * functions dealing with the user's productions, as they are located in * the same directory. + * @internal Don't delete this function * @param integer $id * @param string $type Type of path to return (can be 'system', 'web') * @param bool $preview Whether we want to have the directory name returned 'as if' there was a file or not diff --git a/main/inc/lib/usergroup.lib.php b/main/inc/lib/usergroup.lib.php index 52af633875..892c457ddd 100755 --- a/main/inc/lib/usergroup.lib.php +++ b/main/inc/lib/usergroup.lib.php @@ -2233,7 +2233,7 @@ class UserGroup extends Model } foreach ($groupsId as $groupId) { - $groupUsers = GroupPortalManager::get_users_by_group($groupId); + $groupUsers = self::get_users_by_group($groupId); if (empty($groupUsers)) { continue;