2014-05-06 21:20:49 +04:00
|
|
|
<?php
|
2015-02-26 13:37:37 +03:00
|
|
|
|
2014-05-12 15:55:23 +04:00
|
|
|
use OCA\Files_Encryption\Migration;
|
2014-05-06 21:20:49 +04:00
|
|
|
|
2014-05-12 15:55:23 +04:00
|
|
|
$installedVersion=OCP\Config::getAppValue('files_encryption', 'installed_version');
|
2014-05-06 21:20:49 +04:00
|
|
|
|
2014-11-18 19:25:36 +03:00
|
|
|
// Migration OC7 -> OC8
|
|
|
|
if (version_compare($installedVersion, '0.7', '<')) {
|
2014-05-12 15:55:23 +04:00
|
|
|
$m = new Migration();
|
2014-11-18 19:25:36 +03:00
|
|
|
$m->reorganizeFolderStructure();
|
2014-05-06 21:20:49 +04:00
|
|
|
}
|