aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-25 18:06:34 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-28 19:24:23 +0100
commit6151a0540b94dea0bb014b26e9ac6ea84d000f05 (patch)
treec8c04e9153c162489cb2383a7e5170fecfd23322 /apps/files_sharing/appinfo
parentb85770d636a34c7893c0f4466609b0365e7af195 (diff)
downloadnextcloud-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.php1
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');