diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-25 18:06:34 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-28 19:24:23 +0100 |
commit | 6151a0540b94dea0bb014b26e9ac6ea84d000f05 (patch) | |
tree | c8c04e9153c162489cb2383a7e5170fecfd23322 /apps/files_sharing/appinfo | |
parent | b85770d636a34c7893c0f4466609b0365e7af195 (diff) | |
download | nextcloud-server-6151a0540b94dea0bb014b26e9ac6ea84d000f05.tar.gz nextcloud-server-6151a0540b94dea0bb014b26e9ac6ea84d000f05.zip |
Update the initiator of the share as well in migration
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/update.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php index ee6482d00ce..d754a95705c 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/apps/files_sharing/appinfo/update.php @@ -28,6 +28,7 @@ $installedVersion = \OC::$server->getConfig()->getAppValue('files_sharing', 'ins if (version_compare($installedVersion, '0.9.0', '<')) { $m = new Migration(\OC::$server->getDatabaseConnection()); $m->removeReShares(); + $m->updateInitiatorInfo(); } \OC::$server->getJobList()->add('OCA\Files_sharing\Lib\DeleteOrphanedSharesJob'); |