diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-01-12 16:28:47 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-28 19:24:23 +0100 |
commit | dc8d43575f71ee19e8c4ad90c3efd8bf9192d3fe (patch) | |
tree | 7a4d23ef44336436cd399467abb92a080cb35e65 /apps/files_sharing/appinfo | |
parent | 8b3d7d09d52ba169953d6a7d03ab570eb3ceed7a (diff) | |
download | nextcloud-server-dc8d43575f71ee19e8c4ad90c3efd8bf9192d3fe.tar.gz nextcloud-server-dc8d43575f71ee19e8c4ad90c3efd8bf9192d3fe.zip |
upgrade to sharing 2.0, remove hierarchical re-shares
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/info.xml | 2 | ||||
-rw-r--r-- | apps/files_sharing/appinfo/update.php | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_sharing/appinfo/info.xml b/apps/files_sharing/appinfo/info.xml index bb16345f101..17826be47b4 100644 --- a/apps/files_sharing/appinfo/info.xml +++ b/apps/files_sharing/appinfo/info.xml @@ -10,7 +10,7 @@ Turning the feature off removes shared files and folders on the server for all s <licence>AGPL</licence> <author>Michael Gapczynski, Bjoern Schiessle</author> <default_enable/> - <version>0.8.1</version> + <version>0.9.0</version> <types> <filesystem/> </types> diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php index 549b25dae83..ee6482d00ce 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/apps/files_sharing/appinfo/update.php @@ -24,10 +24,10 @@ use OCA\Files_Sharing\Migration; $installedVersion = \OC::$server->getConfig()->getAppValue('files_sharing', 'installed_version'); -// Migration OC7 -> OC8 -if (version_compare($installedVersion, '0.6.0', '<')) { - $m = new Migration(); - $m->addAcceptRow(); +// Migration OC8.2 -> OC9 +if (version_compare($installedVersion, '0.9.0', '<')) { + $m = new Migration(\OC::$server->getDatabaseConnection()); + $m->removeReShares(); } \OC::$server->getJobList()->add('OCA\Files_sharing\Lib\DeleteOrphanedSharesJob'); |