summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-09-23 10:33:50 +0200
committerVincent Petry <pvince81@owncloud.com>2014-09-23 10:33:50 +0200
commitfc42a64e6c848adc21bb069da01398f7d39fcc4a (patch)
treec245bcecc11df2715f838646d4af71319e9e4869 /lib/private
parentff6c5331e991bb33fee3777649f20c5824ab44e4 (diff)
parent21412559df9461ae7395d8abe1a4c6850dadfad3 (diff)
downloadnextcloud-server-fc42a64e6c848adc21bb069da01398f7d39fcc4a.tar.gz
nextcloud-server-fc42a64e6c848adc21bb069da01398f7d39fcc4a.zip
Merge pull request #11226 from owncloud/kill-postsetupcheck-master
remove post setup check
Diffstat (limited to 'lib/private')
-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();
- }
- }
}