]> source.dussan.org Git - nextcloud-server.git/commitdiff
is_writable() is now isUpdatable() with the new filesystem
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 31 Jan 2013 13:55:14 +0000 (14:55 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 31 Jan 2013 13:55:14 +0000 (14:55 +0100)
apps/files_trashbin/lib/trash.php

index 6aa0bdffb989a0c9e45656b0bc7a94af114d8079..a7eff3d44e0bdf1539e2b6f8515242d2b328427e 100644 (file)
@@ -102,7 +102,7 @@ class Trashbin {
                        $location = $result[0]['location'];\r
                        if ( $result[0]['location'] != '/' && 
                                 (!$view->is_dir('files'.$result[0]['location']) ||
-                                !$view->is_writable('files'.$result[0]['location'])) ) {\r
+                                !$view->isUpdatable('files'.$result[0]['location'])) ) {\r
                                $location = '';\r
                        }
                } else {