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

remotes/origin/stable5
Björn Schießle 14 years ago
parent dff5148f6d
commit c8a4878b77
  1. 2
      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 {

Loading…
Cancel
Save