Modifikasi ZimbraDrive 0.8.25 agar bisa digunakan di NextCloud 20

Cara cepatnya adalah dengan melakukan comment out terhadap baris berikut ini pada file :

nextcloud/apps/zimbradrive/lib/auth/abstractzimbrausersbackend.php like that:

  protected function insertUserInGroup(User $user, $groupName)
    {
        if(isset($user))
        {
            if(!$this->groupManager->groupExists($groupName))
            {
                $this->groupManager->createGroup($groupName);
            }
/**
            $targetGroup = $this->groupManager->get($groupName);
            if(!$targetGroup->inGroup($user))
            {
                $targetGroup->addUser($user);
            }
            **/
        }
    }

Be the first to comment

Leave a Reply

Your email address will not be published.


*