* (bug 17472) use print <<<EOF in maintenance/importTextFile.php. Patch contribute...
[lhc/web/wiklou.git] / maintenance / rebuildImages.php
index 06f84c9..46b5d0e 100644 (file)
@@ -25,8 +25,9 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
  *
+ * @file
  * @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingrouo maintenance
  */
 
 $options = array( 'missing', 'dry-run' );
@@ -173,8 +174,6 @@ class ImageBuilder extends FiveUpgrade {
        function addMissingImage( $filename, $fullpath ) {
                $fname = 'ImageBuilder::addMissingImage';
 
-               $size = filesize( $fullpath );
-               $info = $this->imageInfo( $fullpath );
                $timestamp = $this->dbw->timestamp( filemtime( $fullpath ) );
 
                global $wgContLang;