server/apps/files_encryption/appinfo/update.php
2014-12-02 16:03:54 +01:00

11 lines
266 B
PHP

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