Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-22 21:43:55 +0400
committerVincent Petry <pvince81@owncloud.com>2014-09-23 15:00:55 +0400
commit838c849a5ad38a182f1e51e4a7a190f4bca0c5a9 (patch)
tree1d57cdbea87a386fe8fce4cf977774333112085d /lib/private/setup.php
parent85d74923980fdbef0e2945fabf85a849890cb88a (diff)
remove post setup check
Backport of 21412559df9461ae7395d8abe1a4c6850dadfad3 from master
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 4c9fb6665b9..d79f6b4765e 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 {
@@ -157,23 +156,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();
- }
- }
}