X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=maintenance%2FpurgeParserCache.php;h=5d085a8b690e5799c23e7e775b6bdc2ec6b0051e;hb=b85a17b7543541fe2ffff64d4d0795ad67c18cbe;hp=9970c1fd5d78da93efe7596215247f97268c1793;hpb=b2645d82849ca74b0e6b8df6a3e28e81d0561a58;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeParserCache.php b/maintenance/purgeParserCache.php index 9970c1fd5d..5d085a8b69 100644 --- a/maintenance/purgeParserCache.php +++ b/maintenance/purgeParserCache.php @@ -60,7 +60,7 @@ class PurgeParserCache extends Maintenance { $this->output( "Deleting objects expiring before " . $english->timeanddate( $date ) . "\n" ); $pc = wfGetParserCacheStorage(); - $success = $pc->deleteObjectsExpiringBefore( $date, array( $this, 'showProgress' ) ); + $success = $pc->deleteObjectsExpiringBefore( $date, [ $this, 'showProgress' ] ); if ( !$success ) { $this->error( "\nCannot purge this kind of parser cache.", 1 ); }