Code Duplication    Length = 10-10 lines in 2 locations

includes/filerepo/file/LocalFile.php 1 location

@@ 2231-2240 (lines=10) @@
2228
		list( $oldRels, $deleteCurrent ) = $this->getOldRels();
2229
2230
		// Bitfields to further suppress the content
2231
		if ( $this->suppress ) {
2232
			$bitfield = 0;
2233
			// This should be 15...
2234
			$bitfield |= Revision::DELETED_TEXT;
2235
			$bitfield |= Revision::DELETED_COMMENT;
2236
			$bitfield |= Revision::DELETED_USER;
2237
			$bitfield |= Revision::DELETED_RESTRICTED;
2238
		} else {
2239
			$bitfield = 'oi_deleted';
2240
		}
2241
2242
		if ( $deleteCurrent ) {
2243
			$dbw->insertSelect(

includes/page/WikiPage.php 1 location

@@ 2889-2898 (lines=10) @@
2886
		$content = $this->getContent( Revision::RAW );
2887
2888
		// Bitfields to further suppress the content
2889
		if ( $suppress ) {
2890
			$bitfield = 0;
2891
			// This should be 15...
2892
			$bitfield |= Revision::DELETED_TEXT;
2893
			$bitfield |= Revision::DELETED_COMMENT;
2894
			$bitfield |= Revision::DELETED_USER;
2895
			$bitfield |= Revision::DELETED_RESTRICTED;
2896
		} else {
2897
			$bitfield = 'rev_deleted';
2898
		}
2899
2900
		// For now, shunt the revision data into the archive table.
2901
		// Text is *not* removed from the text table; bulk storage