Avoid using raw sql in SpecialUndelete.php
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 8 Apr 2014 18:18:11 +0000 (20:18 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 31 May 2014 07:07:24 +0000 (07:07 +0000)
commit3938307eeab06dc72565b8da7bab4f92cc9948e7
treec841bb090130c965c837fa24bcc516c5e73419ad
parent96c5cd8d9b55e0c80cbd7f8ad07e4b49306c53c3
Avoid using raw sql in SpecialUndelete.php

The where part for the ar_timestamp was raw sql.
Refactored to avoid this. Now the IN-List is created by the database
abstraction layer. The addQuotes and implode with comma is done there.
Just the call to Database::timestamp is still needed.

This also avoids a '1 = 1' in sql.

Change-Id: I1deb055a1437ae84fc8a4e8cf2976e18c15bda39
includes/specials/SpecialUndelete.php