X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupUploadStash.php;h=cd7a8420f9c5daeb1907b8cf40c9aa84a363920c;hb=8d59074c3bf00e3b986495ec1327ef48aaf2870d;hp=3c768d87a3866c26c7fdb6f9399eaf4e5f2efeaa;hpb=1919fff20e6cf16761207413b3534579c3ad75d9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupUploadStash.php b/maintenance/cleanupUploadStash.php index 3c768d87a3..cd7a8420f9 100644 --- a/maintenance/cleanupUploadStash.php +++ b/maintenance/cleanupUploadStash.php @@ -74,7 +74,7 @@ class UploadStashCleanup extends Maintenance { // this could be done some other, more direct/efficient way, but using // UploadStash's own methods means it's less likely to fall accidentally // out-of-date someday - $stash = new UploadStash( $repo, new User() ); + $stash = new UploadStash( $repo ); $i = 0; foreach ( $keys as $key ) {