Fixed trashbin to use correct class

It seems that \OC_Filesystemview has been removed.
Now using the correct class \OC\Files\View()
remotes/origin/ldap_group_count
Vincent Petry 11 years ago
parent 60efa0f1c8
commit 818c77684d
  1. 2
      apps/files_trashbin/lib/helper.php

@ -20,7 +20,7 @@ class Helper
$timestamp = null;
$user = \OCP\User::getUser();
$view = new \OC_Filesystemview('/' . $user . '/files_trashbin/files');
$view = new \OC\Files\View('/' . $user . '/files_trashbin/files');
if (ltrim($dir, '/') !== '' && !$view->is_dir($dir)) {
throw new \Exception('Directory does not exists');

Loading…
Cancel
Save