Code Duplication    Length = 7-7 lines in 2 locations

maintenance/cleanupTable.inc 1 location

@@ 63-69 (lines=7) @@
60
		$this->runTable( $this->defaultParams );
61
	}
62
63
	protected function init( $count, $table ) {
64
		$this->processed = 0;
65
		$this->updated = 0;
66
		$this->count = $count;
67
		$this->startTime = microtime( true );
68
		$this->table = $table;
69
	}
70
71
	/**
72
	 * @param int $updated

maintenance/rebuildImages.php 1 location

@@ 90-96 (lines=7) @@
87
		$this->buildOldImage();
88
	}
89
90
	function init( $count, $table ) {
91
		$this->processed = 0;
92
		$this->updated = 0;
93
		$this->count = $count;
94
		$this->startTime = microtime( true );
95
		$this->table = $table;
96
	}
97
98
	function progress( $updated ) {
99
		$this->updated += $updated;