On Wed, Apr 16, 2008 at 12:54 AM, Simetrical
<Simetrical+wikilist(a)gmail.com> wrote:
On Mon, Apr 14, 2008 at 9:37 PM,
<werdna(a)svn.wikimedia.org> wrote:
Log Message:
-----------
Fix up GlobalBlocking::purgeExpired()
- $dbw->delete(
'globalblocks', 'gb_expiry<'.$dbw->addQuotes($dbw->timestamp()),
__METHOD__ );
+ $dbw->delete( 'globalblocks',
array('gb_expiry<'.$dbw->addQuotes($dbw->timestamp())), __METHOD__ );
What's the difference? These do the same thing, don't they?
One spews PHP warnings and does nothing, the other purges expired
global blocks from the database.
--
Andrew Garrett