server/apps/files_encryption/appinfo/update.php
2014-06-05 16:54:04 +02:00

10 lines
236 B
PHP

<?php
use OCA\Files_Encryption\Migration;
$installedVersion=OCP\Config::getAppValue('files_encryption', 'installed_version');
if (version_compare($installedVersion, '0.6', '<')) {
$m = new Migration();
$m->dropTableEncryption();
}