summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/appinfo/update.php
blob: a29667ec6b6bc567c1d42ff895360d99d8bc1d3e (plain)
1
2
3
4
5
6
7
8
9
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();
}