Skip to content
Snippets Groups Projects
Commit c8a4878b authored by Björn Schießle's avatar Björn Schießle
Browse files

is_writable() is now isUpdatable() with the new filesystem

parent dff5148f
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ class Trashbin { ...@@ -102,7 +102,7 @@ class Trashbin {
$location = $result[0]['location']; $location = $result[0]['location'];
if ( $result[0]['location'] != '/' && if ( $result[0]['location'] != '/' &&
(!$view->is_dir('files'.$result[0]['location']) || (!$view->is_dir('files'.$result[0]['location']) ||
!$view->is_writable('files'.$result[0]['location'])) ) { !$view->isUpdatable('files'.$result[0]['location'])) ) {
$location = ''; $location = '';
} }
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment