nextcloud/apps/files_encryption/appinfo/update.php

12 lines
266 B
PHP
Raw Normal View History

<?php
use OCA\Files_Encryption\Migration;
$installedVersion=OCP\Config::getAppValue('files_encryption', 'installed_version');
2014-11-18 19:25:36 +03:00
// Migration OC7 -> OC8
if (version_compare($installedVersion, '0.7', '<')) {
$m = new Migration();
2014-11-18 19:25:36 +03:00
$m->reorganizeFolderStructure();
}