diff options
Diffstat (limited to 'apps/files_sharing/appinfo/update.php')
-rw-r--r-- | apps/files_sharing/appinfo/update.php | 8 |
1 files changed, 4 insertions, 4 deletions
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'); |