Code Duplication    Length = 10-10 lines in 2 locations

includes/page/WikiPage.php 1 location

@@ 2865-2874 (lines=10) @@
2862
		$content = $this->getContent( Revision::RAW );
2863
2864
		// Bitfields to further suppress the content
2865
		if ( $suppress ) {
2866
			$bitfield = 0;
2867
			// This should be 15...
2868
			$bitfield |= Revision::DELETED_TEXT;
2869
			$bitfield |= Revision::DELETED_COMMENT;
2870
			$bitfield |= Revision::DELETED_USER;
2871
			$bitfield |= Revision::DELETED_RESTRICTED;
2872
		} else {
2873
			$bitfield = 'rev_deleted';
2874
		}
2875
2876
		/**
2877
		 * For now, shunt the revision data into the archive table.

includes/filerepo/file/LocalFile.php 1 location

@@ 2144-2153 (lines=10) @@
2141
		list( $oldRels, $deleteCurrent ) = $this->getOldRels();
2142
2143
		// Bitfields to further suppress the content
2144
		if ( $this->suppress ) {
2145
			$bitfield = 0;
2146
			// This should be 15...
2147
			$bitfield |= Revision::DELETED_TEXT;
2148
			$bitfield |= Revision::DELETED_COMMENT;
2149
			$bitfield |= Revision::DELETED_USER;
2150
			$bitfield |= Revision::DELETED_RESTRICTED;
2151
		} else {
2152
			$bitfield = 'oi_deleted';
2153
		}
2154
2155
		if ( $deleteCurrent ) {
2156
			$concat = $dbw->buildConcat( array( "img_sha1", $encExt ) );