summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/update.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-08-13 12:55:14 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-08-18 16:52:48 +0200
commitc9903f2e68adb5a4326c85f5dbb2b1fd48f3cfba (patch)
tree45c22b0f64e3235c83497b143c901e758f76b11a /apps/files_sharing/appinfo/update.php
parenta4b416f115d551b8b1c6a5953ef87bb728697f33 (diff)
downloadnextcloud-server-c9903f2e68adb5a4326c85f5dbb2b1fd48f3cfba.tar.gz
nextcloud-server-c9903f2e68adb5a4326c85f5dbb2b1fd48f3cfba.zip
make share folder configurable
Diffstat (limited to 'apps/files_sharing/appinfo/update.php')
-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');
+
}
}