X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2FcleanupUploadStash.php;h=cd7a8420f9c5daeb1907b8cf40c9aa84a363920c;hb=cb934efb65dc3cdeb2b4dc124bde0aa5aeb5bbf6;hp=559dbd607d4ff619f8795e7c9e1a379b8a95740d;hpb=58cb1f824ac75c3b58ba19d1e88c1b38f9dc1fab;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupUploadStash.php b/maintenance/cleanupUploadStash.php index 559dbd607d..cd7a8420f9 100644 --- a/maintenance/cleanupUploadStash.php +++ b/maintenance/cleanupUploadStash.php @@ -47,7 +47,7 @@ class UploadStashCleanup extends Maintenance { $repo = RepoGroup::singleton()->getLocalRepo(); $tempRepo = $repo->getTempRepo(); - $dbr = $repo->getSlaveDb(); + $dbr = $repo->getSlaveDB(); // how far back should this look for files to delete? $cutoff = time() - $wgUploadStashMaxAge;