diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-01 17:22:04 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-07 13:30:30 +0200 |
commit | 5ea94b7c45e26e535375fbbf158840629089d98c (patch) | |
tree | da5607b82324fb4c33423e121ffbdf1bbce48b2a /apps | |
parent | 664b2bb7af2c8253aa0bbade42531ad4a3ef6bab (diff) | |
download | nextcloud-server-5ea94b7c45e26e535375fbbf158840629089d98c.tar.gz nextcloud-server-5ea94b7c45e26e535375fbbf158840629089d98c.zip |
add priority to trashbin storage wrapper so that he is always on top
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/storage.php b/apps/files_trashbin/lib/storage.php index 3f474d71da5..df80649a50b 100644 --- a/apps/files_trashbin/lib/storage.php +++ b/apps/files_trashbin/lib/storage.php @@ -117,7 +117,7 @@ class Storage extends Wrapper { public static function setupStorage() { \OC\Files\Filesystem::addStorageWrapper('oc_trashbin', function ($mountPoint, $storage) { return new \OCA\Files_Trashbin\Storage(array('storage' => $storage, 'mountPoint' => $mountPoint)); - }); + }, 1); } } |