server/apps/files_versions/appinfo/update.php
2014-06-02 18:57:53 +02:00

7 lines
219 B
PHP

<?php
$installedVersion=OCP\Config::getAppValue('files_versions', 'installed_version');
// move versions to new directory
if (version_compare($installedVersion, '1.0.4', '<')) {
\OC_DB::dropTable("files_versions");
}