]> source.dussan.org Git - nextcloud-server.git/commitdiff
add priority to trashbin storage wrapper so that he is always on top
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 1 Apr 2015 15:22:04 +0000 (17:22 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 7 Apr 2015 11:30:30 +0000 (13:30 +0200)
apps/files_trashbin/lib/storage.php

index 3f474d71da52950b6c74fcf9d0ee1b04325a8811..df80649a50ba4bc7a86c0599567e7e079f72e1a7 100644 (file)
@@ -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);
        }
 
 }