2014-05-06 17:20:49 +00:00
|
|
|
<?php
|
|
|
|
|
2014-05-12 11:55:23 +00:00
|
|
|
use OCA\Files_Encryption\Migration;
|
2014-05-06 17:20:49 +00:00
|
|
|
|
2014-05-12 11:55:23 +00:00
|
|
|
$installedVersion=OCP\Config::getAppValue('files_encryption', 'installed_version');
|
2014-05-06 17:20:49 +00:00
|
|
|
|
2014-05-12 11:55:23 +00:00
|
|
|
if (version_compare($installedVersion, '0.6', '<')) {
|
|
|
|
$m = new Migration();
|
|
|
|
$m->dropTableEncryption();
|
2014-05-06 17:20:49 +00:00
|
|
|
}
|