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
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/bootstrap/Provisioning.php')
-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);
}