dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394a5ba
)
Followup r92081: SQL fix for cleanupUploadStash.php on PostgreSQL (bug 32822)
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 6 Dec 2011 18:15:28 +0000
(18:15 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 6 Dec 2011 18:15:28 +0000
(18:15 +0000)
maintenance/cleanupUploadStash.php
patch
|
blob
|
history
diff --git
a/maintenance/cleanupUploadStash.php
b/maintenance/cleanupUploadStash.php
index
f258cab
..
788f0f5
100644
(file)
--- a/
maintenance/cleanupUploadStash.php
+++ b/
maintenance/cleanupUploadStash.php
@@
-46,7
+46,7
@@
class UploadStashCleanup extends Maintenance {
$res = $dbr->select(
'uploadstash',
'us_key',
- 'us_timestamp < ' . $dbr->
timestamp( time() - $wgUploadStashMaxAge
),
+ 'us_timestamp < ' . $dbr->
addQuotes( $dbr->timestamp( time() - $wgUploadStashMaxAge )
),
__METHOD__
);