Blame view

sources/apps/files_trashbin/appinfo/update.php 303 Bytes
03e52840d   Kload   Init
1
2
3
  <?php
  
  $installedVersion=OCP\Config::getAppValue('files_trashbin', 'installed_version');
6d9380f96   Cédric Dupont   Update sources OC...
4
  if (version_compare($installedVersion, '0.6', '<')) {
03e52840d   Kload   Init
5
6
  	//size of the trash bin could be incorrect, remove it for all users to
  	//enforce a recalculation during next usage.
6d9380f96   Cédric Dupont   Update sources OC...
7
  	\OC_DB::dropTable('files_trashsize');
31b7f2792   Kload   Upgrade to ownclo...
8
  }