X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FcleanupImages.php;h=4e7b937dbf0cddcb3db6a5fa1b5a2eb426b3707c;hb=9d22dd50174451fa577edd5483186c5f337f23b4;hp=687a95ce569ae17d868f5a1c95c99234586df96a;hpb=cf1ea333e74076a80fdd419e7a7c5919eda1fae9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupImages.php b/maintenance/cleanupImages.php index 687a95ce56..4e7b937dbf 100644 --- a/maintenance/cleanupImages.php +++ b/maintenance/cleanupImages.php @@ -1,12 +1,12 @@ + * Copyright © 2005-2006 Brion Vibber * http://www.mediawiki.org/ * * This program is free software; you can redistribute it and/or modify @@ -29,8 +29,13 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/cleanupTable.inc' ); +require_once( __DIR__ . '/cleanupTable.inc' ); +/** + * Maintenance script to clean up broken, unparseable upload filenames. + * + * @ingroup Maintenance + */ class ImageCleanup extends TableCleanup { protected $defaultParams = array( 'table' => 'image',