diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-09-19 12:23:42 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-09-19 12:23:42 +0200 |
commit | 437f8c3cd53aa324519fb34e1f4dbb3318d5970a (patch) | |
tree | 659cc9ddbffcdcd47258483e6c516a67812ba852 | |
parent | f0186d99d23a0e185b38be16e84388ab31e12553 (diff) | |
parent | 2cfa07049f3863e6aa3cce37138526848d294e85 (diff) | |
download | nextcloud-server-437f8c3cd53aa324519fb34e1f4dbb3318d5970a.tar.gz nextcloud-server-437f8c3cd53aa324519fb34e1f4dbb3318d5970a.zip |
Merge pull request #11119 from owncloud/removeOldUpgradeRoutines
Remove old upgrade routines
-rw-r--r-- | lib/private/updater.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php index a2aa8bf33e9..3eb2cd4ec4c 100644 --- a/lib/private/updater.php +++ b/lib/private/updater.php @@ -187,19 +187,6 @@ class Updater extends BasicEmitter { // (in case it didn't exist before) file_put_contents(\OC_Config::getValue('datadirectory', \OC::$SERVERROOT . '/data') . '/.ocdata', ''); - /* - * START CONFIG CHANGES FOR OLDER VERSIONS - */ - if (!\OC::$CLI && version_compare($installedVersion, '6.90.1', '<')) { - // Add the trusted_domains config if it is not existant - // This is added to prevent host header poisoning - \OC_Config::setValue('trusted_domains', \OC_Config::getValue('trusted_domains', array(\OC_Request::serverHost()))); - } - - /* - * STOP CONFIG CHANGES FOR OLDER VERSIONS - */ - // pre-upgrade repairs $repair = new \OC\Repair(\OC\Repair::getBeforeUpgradeRepairSteps()); $repair->run(); @@ -213,13 +200,6 @@ class Updater extends BasicEmitter { } - // upgrade from OC6 to OC7 - // TODO removed it again for OC8 - $sharePolicy = \OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global'); - if ($sharePolicy === 'groups_only') { - \OC_Appconfig::setValue('core', 'shareapi_only_share_with_group_members', 'yes'); - } - if ($this->updateStepEnabled) { $this->doCoreUpgrade(); |