comment added

This commit is contained in:
Björn Schießle 2013-02-09 11:07:47 +01:00
parent 808de17aeb
commit b24e3f1d32
1 changed files with 1 additions and 2 deletions

View File

@ -291,7 +291,7 @@ class Trashbin {
$query->execute(array($user,$limit));
$availableSpace = $availableSpace + $size;
// if size limit for trash bin reached, delete oldest files in trash bin
if ($availableSpace < 0) {
$query = \OC_DB::prepare('SELECT location,type,id,timestamp FROM *PREFIX*files_trash WHERE user=? ORDER BY timestamp ASC');
$result = $query->execute(array($user))->fetchAll();
@ -306,7 +306,6 @@ class Trashbin {
}
return $size;
}