From: Bjoern Schiessle Date: Wed, 1 Apr 2015 15:22:04 +0000 (+0200) Subject: add priority to trashbin storage wrapper so that he is always on top X-Git-Tag: v8.1.0alpha1~78^2~40 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ea94b7c45e26e535375fbbf158840629089d98c;p=nextcloud-server.git add priority to trashbin storage wrapper so that he is always on top --- 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); } }