Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-17 16:38:27 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-03-20 22:13:09 +0300
commit4157e7914ab4d9eb72ac0eecf4ed5c5fcaef89a5 (patch)
tree141a1652eab61bbbf72c472982c76707f54f17e3 /build
parent4626514a35510a6c730fd1d484936524012f44d8 (diff)
Fix deletion of groups
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/Provisioning.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/Provisioning.php b/build/integration/features/bootstrap/Provisioning.php
index 0055ff15de0..2e17508120c 100644
--- a/build/integration/features/bootstrap/Provisioning.php
+++ b/build/integration/features/bootstrap/Provisioning.php
@@ -331,6 +331,12 @@ trait Provisioning {
];
$this->response = $client->send($client->createRequest("DELETE", $fullUrl, $options));
+
+ if ($this->currentServer === 'LOCAL'){
+ unset($this->createdGroups[$group]);
+ } elseif ($this->currentServer === 'REMOTE') {
+ unset($this->createdRemoteGroups[$group]);
+ }
}
/**
@@ -748,7 +754,7 @@ trait Provisioning {
}
$this->usingServer('REMOTE');
foreach($this->createdRemoteGroups as $remoteGroup) {
- $this->deleteUser($remoteGroup);
+ $this->deleteGroup($remoteGroup);
}
$this->usingServer($previousServer);
}