From c8a4878b7771f92361cf1c07aa32faef31cfece2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= <schiessle@owncloud.com>
Date: Thu, 31 Jan 2013 14:55:14 +0100
Subject: [PATCH] is_writable() is now isUpdatable() with the new filesystem

---
 apps/files_trashbin/lib/trash.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php
index 6aa0bdffb9..a7eff3d44e 100644
--- a/apps/files_trashbin/lib/trash.php
+++ b/apps/files_trashbin/lib/trash.php
@@ -102,7 +102,7 @@ class Trashbin {
 			$location = $result[0]['location'];
 			if ( $result[0]['location'] != '/' && 
 				 (!$view->is_dir('files'.$result[0]['location']) ||
-				 !$view->is_writable('files'.$result[0]['location'])) ) {
+				 !$view->isUpdatable('files'.$result[0]['location'])) ) {
 				$location = '';
 			}
 		} else {
-- 
GitLab