nextcloud/apps/files_versions/appinfo/update.php

8 lines
219 B
PHP
Raw Normal View History

<?php
$installedVersion=OCP\Config::getAppValue('files_versions', 'installed_version');
// move versions to new directory
if (version_compare($installedVersion, '1.0.4', '<')) {
2014-06-02 20:57:53 +04:00
\OC_DB::dropTable("files_versions");
}