summaryrefslogtreecommitdiffstats
path: root/core/setup
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-10-02 18:23:47 +0200
committerBart Visscher <bartv@thisnet.nl>2013-10-02 18:23:47 +0200
commit5db98aadd30b9f1218dda8f836acca0062ce1d9f (patch)
tree15215a8ac9a78e8cb5f7af2b6f49198484029ba1 /core/setup
parent071b8033cb59a3ed51925374e78790ecfa7a2fac (diff)
downloadnextcloud-server-5db98aadd30b9f1218dda8f836acca0062ce1d9f.tar.gz
nextcloud-server-5db98aadd30b9f1218dda8f836acca0062ce1d9f.zip
Copyright and small fix
Diffstat (limited to 'core/setup')
-rw-r--r--core/setup/controller.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php
index e1ad9d60e8b..9b35432f113 100644
--- a/core/setup/controller.php
+++ b/core/setup/controller.php
@@ -1,4 +1,10 @@
<?php
+/**
+ * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
namespace OC\Core\Setup;
@@ -43,7 +49,7 @@ class Controller {
include $autosetup_file;
$post['install'] = 'true';
$post = array_merge ($post, $AUTOCONFIG);
- unlink($autosetup_file);
+ @unlink($autosetup_file);
}
return $post;
}