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

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

use OCA\Files_Encryption\Migration;

$installedVersion=OCP\Config::getAppValue('files_encryption', 'installed_version');

// Migration OC7 -> OC8
if (version_compare($installedVersion, '0.7', '<')) {
	$m = new Migration();
	$m->reorganizeFolderStructure();
}