nextcloud/apps/files_trashbin/appinfo/update.php

10 lines
303 B
PHP
Raw Normal View History

<?php
$installedVersion=OCP\Config::getAppValue('files_trashbin', 'installed_version');
2014-02-26 00:35:54 +04:00
if (version_compare($installedVersion, '0.6', '<')) {
//size of the trash bin could be incorrect, remove it for all users to
//enforce a recalculation during next usage.
2014-06-02 20:57:53 +04:00
\OC_DB::dropTable('files_trashsize');
}