Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update.php « appinfo « files_sharing « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e910eb6ac18faca5b023d1de325aec143b11629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

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();
}