Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Stop using private OC_Group class #2212

Open
PVince81 opened this issue Mar 8, 2017 · 0 comments
Open

Stop using private OC_Group class #2212

PVince81 opened this issue Mar 8, 2017 · 0 comments

Comments

@PVince81
Copy link
Contributor

PVince81 commented Mar 8, 2017

Once owncloud/core#27341 is merged for 10.0, some auth related apps will stop working because they are using private APIs:

grep result:

django_auth/appinfo/app.php:OC_Group::useBackend( new OC_GROUP_DJANGO() );
user_saml/lib/hooks.php:                $old_groups = OC_Group::getUserGroups($uid);
user_saml/lib/hooks.php:                                OC_Group::removeFromGroup($uid,$group);
user_saml/lib/hooks.php:                        if (!OC_Group::inGroup($uid, $group)) {
user_saml/lib/hooks.php:                                if (!OC_Group::groupExists($group)) {
user_saml/lib/hooks.php:                                        OC_Group::createGroup($group);
user_saml/lib/hooks.php:                                OC_Group::addToGroup($uid, $group);

Please adjust accordingly using \OC::$server->getGroupManager().

CC @DeepDiver1975

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant