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
}
function addMissingImage( $filename, $fullpath ) {
- $fname = 'ImageBuilder::addMissingImage';
-
$timestamp = $this->dbw->timestamp( filemtime( $fullpath ) );
global $wgContLang;