blob: ca7b87a86817c4cc8a8280b8d7f9b55e1cbd9f74 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?php
$installedVersion=OCP\Config::getAppValue('files_trashbin', 'installed_version');
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.
$query = \OC_DB::prepare('DELETE FROM `*PREFIX*files_trashsize`');
$result = $query->execute();
}
|