summaryrefslogtreecommitdiffstats
path: root/lib/installer.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-06-23 16:21:47 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-06-23 16:21:47 +0200
commit2c1c1ba88c7eb7a4c40fc14bc1cc92287ad1c8da (patch)
treeb70f3c597644b0dcadc7ad344988a64e4978c939 /lib/installer.php
parent7c5ff900d020ad3a3bd49377d99b5e5963d17c9c (diff)
downloadnextcloud-server-2c1c1ba88c7eb7a4c40fc14bc1cc92287ad1c8da.tar.gz
nextcloud-server-2c1c1ba88c7eb7a4c40fc14bc1cc92287ad1c8da.zip
close only if exist
Diffstat (limited to 'lib/installer.php')
-rw-r--r--lib/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/installer.php b/lib/installer.php
index b650f3eed0d..00feb6d4709 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -302,8 +302,8 @@ class OC_Installer{
}
}
}
+ closedir( $dir );
}
- closedir( $dir );
}
}