From 7e0e1d7d4aa3143929e6e33d69e899c6b9d2f36c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 6 Dec 2011 18:15:28 +0000 Subject: [PATCH] Followup r92081: SQL fix for cleanupUploadStash.php on PostgreSQL (bug 32822) --- maintenance/cleanupUploadStash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/cleanupUploadStash.php b/maintenance/cleanupUploadStash.php index f258cab370..788f0f59a5 100644 --- 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__ ); -- 2.20.1