Blame view

sources/apps/files_trashbin/appinfo/update.php 362 Bytes
03e52840d   Kload   Init
1
2
3
4
5
6
7
8
9
  <?php
  
  $installedVersion=OCP\Config::getAppValue('files_trashbin', 'installed_version');
  
  if (version_compare($installedVersion, '0.4', '<')) {
  	//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();
31b7f2792   Kload   Upgrade to ownclo...
10
  }