server/lib
Stephan Peijnik 4d74aa09bf Port of #9584
Fixes #9583

lib/private/group/metadata.php: For subadmins also return an array of groups, indexed by their GIDs.
settings/users.php: Convert array of arrays to array of GIDs before calling into OC_Group::displayNamesInGroups.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>

Fix indentation.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>

Renamed $grp to $group in foreach loop.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>

Use is_null() instead of empty() when checking the return value of GroupManager::get().

Additionally, $grp was renamed to $group inside
 \OC\Group\MetaData::fetchGroups().

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>

Updated code to reflect changes introduced to \OC\Group\MetaData.

Now that fetchGroups() does not exist anymore and getGroups() is called
directory, the 'groups' property does not exist anymore.
Instead, we now generate that array on the fly and return it from getGroups.

Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
2014-07-16 12:23:26 +02:00
..
l10n [tx-robot] updated from transifex 2014-07-16 01:55:55 -04:00
private Port of #9584 2014-07-16 12:23:26 +02:00
public use correct IUser in interface 2014-07-15 17:41:44 +02:00
repair Add repair step to set MySQL collation to utf8_bin 2014-07-08 15:12:07 +02:00
autoloader.php add additional type check 2014-06-06 09:33:34 +02:00
base.php Only calculate the WEBROOT from scriptName if it contains $SUBURI 2014-07-07 15:08:46 +02:00