Get rid of PHP4-style constructors
[lhc/web/wiklou.git] / maintenance / rebuildImages.php
index 9cfec70..1fbd186 100644 (file)
@@ -36,7 +36,7 @@ require_once( dirname( __FILE__ ) . '/commandLine.inc' );
 require_once( 'FiveUpgrade.inc' );
 
 class ImageBuilder extends FiveUpgrade {
-       function ImageBuilder( $dryrun = false ) {
+       function __construct( $dryrun = false ) {
                parent::FiveUpgrade();
 
                $this->maxLag = 10; # if slaves are lagged more than 10 secs, wait