summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-22 19:43:55 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-22 19:43:55 +0200
commit21412559df9461ae7395d8abe1a4c6850dadfad3 (patch)
treeffaa2d6e4a3ef1945c78b805f9d4b743a7726ff5 /lib/private/setup.php
parent831d34f084e4c2f6b13303f58e12a9f96eb10a74 (diff)
downloadnextcloud-server-21412559df9461ae7395d8abe1a4c6850dadfad3.tar.gz
nextcloud-server-21412559df9461ae7395d8abe1a4c6850dadfad3.zip
remove post setup check
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r--lib/private/setup.php22
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 95e908d10ec..ccf996460d0 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -1,7 +1,6 @@
<?php
-class DatabaseSetupException extends \OC\HintException
-{
+class DatabaseSetupException extends \OC\HintException {
}
class OC_Setup {
@@ -162,23 +161,4 @@ class OC_Setup {
file_put_contents(OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data').'/.htaccess', $content);
file_put_contents(OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data').'/index.html', '');
}
-
- /**
- * Post installation checks
- */
- public static function postSetupCheck($params) {
- // setup was successful -> webdav testing now
- $l = self::getTrans();
- if (OC_Util::isWebDAVWorking()) {
- header("Location: ".OC::$WEBROOT.'/');
- } else {
-
- $error = $l->t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.');
- $hint = $l->t('Please double check the <a href=\'%s\'>installation guides</a>.',
- \OC_Helper::linkToDocs('admin-install'));
-
- OC_Template::printErrorPage($error, $hint);
- exit();
- }
- }
}