[Upload] Added async upload concatenation support.
[lhc/web/wiklou.git] / includes / filerepo / FileRepo.php
index cbcc6c8..82f7b49 100644 (file)
@@ -1681,10 +1681,11 @@ class FileRepo {
        /**
         * Get an UploadStash associated with this repo.
         *
+        * @param $user User
         * @return UploadStash
         */
-       public function getUploadStash() {
-               return new UploadStash( $this );
+       public function getUploadStash( User $user = null ) {
+               return new UploadStash( $this, $user );
        }
 
        /**