summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-11-18 12:53:36 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-11-18 12:53:36 +0100
commit90b020cf8862d60c315eb91e62ca9a6e3d938962 (patch)
tree6a747390eb2f53d1f4e4360850b06bd50153d7fd
parentfbcdf170892bcde39b202d021eb9107e9820c26c (diff)
downloadnextcloud-server-90b020cf8862d60c315eb91e62ca9a6e3d938962.tar.gz
nextcloud-server-90b020cf8862d60c315eb91e62ca9a6e3d938962.zip
Delete when it is a directory...
-rw-r--r--build/integration/features/bootstrap/FeatureContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/FeatureContext.php b/build/integration/features/bootstrap/FeatureContext.php
index 561a957f7d3..3d579f52810 100644
--- a/build/integration/features/bootstrap/FeatureContext.php
+++ b/build/integration/features/bootstrap/FeatureContext.php
@@ -908,7 +908,7 @@ class FeatureContext implements Context, SnippetAcceptingContext {
for ($i=0; $i<5; $i++){
self::removeFile("../../core/skeleton/", "textfile" . "$i" . ".txt");
}
- if (!is_dir("../../core/skeleton/FOLDER")) {
+ if (is_dir("../../core/skeleton/FOLDER")) {
rmdir("../../core/skeleton/FOLDER");
}
}