From c71deea0d53e4dfe6b17cb5d28ddd695b7ee3e67 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 16 Oct 2014 12:26:26 +0200 Subject: [PATCH] Fix SPACE_UNKNOWN constant --- apps/files_trashbin/lib/trashbin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index 73bb87955c..6396229641 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -745,7 +745,7 @@ class Trashbin { if ($quota === null || $quota === 'none') { $quota = \OC\Files\Filesystem::free_space('/'); $softQuota = false; - if ($quota === \OC\Files\SPACE_UNKNOWN) { + if ($quota === \OCP\Files\FileInfo::SPACE_UNKNOWN) { $quota = 0; } } else {