dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Remove unused static methods in LanguageConverter subclasses"
[lhc/web/wiklou.git]
/
maintenance
/
cleanupUploadStash.php
diff --git
a/maintenance/cleanupUploadStash.php
b/maintenance/cleanupUploadStash.php
index
cd7a842
..
95bbe3d
100644
(file)
--- 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->get
Slave
DB();
+ $dbr = $repo->get
Replica
DB();
// how far back should this look for files to delete?
$cutoff = time() - $wgUploadStashMaxAge;