summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-01 17:22:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:30 +0200
commit5ea94b7c45e26e535375fbbf158840629089d98c (patch)
treeda5607b82324fb4c33423e121ffbdf1bbce48b2a /apps
parent664b2bb7af2c8253aa0bbade42531ad4a3ef6bab (diff)
downloadnextcloud-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.php2
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);
}
}