aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/update.php
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();
}