diff options
Diffstat (limited to 'apps/files_encryption/appinfo/update.php')
-rw-r--r-- | apps/files_encryption/appinfo/update.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/files_encryption/appinfo/update.php b/apps/files_encryption/appinfo/update.php new file mode 100644 index 00000000000..a29667ec6b6 --- /dev/null +++ b/apps/files_encryption/appinfo/update.php @@ -0,0 +1,10 @@ +<?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(); +} |