summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2014-08-19 10:21:21 +0200
committerBjörn Schießle <schiessle@owncloud.com>2014-08-19 10:21:21 +0200
commit19610157d30462038d99ff4ce23422c224594067 (patch)
treedbd9d9ed32fa91c98e19a2d72e365ca453e8b4a3 /apps/files_sharing/appinfo
parent312ed5330781cff8bcd420077deeb96e5d39f245 (diff)
parent594078e22f0227f8dafe3726b67ade21187e5836 (diff)
downloadnextcloud-server-19610157d30462038d99ff4ce23422c224594067.tar.gz
nextcloud-server-19610157d30462038d99ff4ce23422c224594067.zip
Merge pull request #10425 from owncloud/set_default_share_folder
Set default share folder
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/update.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php
index 72acdbac736..e393b1575af 100644
--- a/apps/files_sharing/appinfo/update.php
+++ b/apps/files_sharing/appinfo/update.php
@@ -113,5 +113,8 @@ function removeSharedFolder($mkdirs = true, $chunkSize = 99) {
$query->execute(array());
}
+ // set config to keep the Shared folder as the default location for new shares
+ \OCA\Files_Sharing\Helper::setShareFolder('/Shared');
+
}
}