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

This commit is contained in:
Björn Schießle 2013-01-31 14:55:14 +01:00
parent dff5148f6d
commit c8a4878b77

View file

@ -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 {