diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-01-31 14:55:14 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-01-31 14:55:14 +0100 |
commit | c8a4878b7771f92361cf1c07aa32faef31cfece2 (patch) | |
tree | b796bc0539bb749c81633dfc7c4aded6756811d8 /apps/files_trashbin/lib/trash.php | |
parent | dff5148f6dec899f095cefb3751a7d1f0cc361fe (diff) | |
download | nextcloud-server-c8a4878b7771f92361cf1c07aa32faef31cfece2.tar.gz nextcloud-server-c8a4878b7771f92361cf1c07aa32faef31cfece2.zip |
is_writable() is now isUpdatable() with the new filesystem
Diffstat (limited to 'apps/files_trashbin/lib/trash.php')
-rw-r--r-- | apps/files_trashbin/lib/trash.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php index 6aa0bdffb98..a7eff3d44e0 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 { |