Code Duplication    Length = 8-8 lines in 2 locations

nntmux/NameFixer.php 2 locations

@@ 1034-1041 (lines=8) @@
1031
			);
1032
		}
1033
1034
		if (isset($pre) && $pre !== false) {
1035
			if ($pre['title'] !== $release['searchname']) {
1036
				$this->updateRelease($release, $pre['title'], $method = "file matched source: " . $pre['source'], $echo, "PreDB file match, ", $namestatus, $show, $pre['predb_id']);
1037
			} else {
1038
				$this->_updateSingleColumn('predb_id', $pre['predb_id'], $release['releases_id']);
1039
			}
1040
			$matching++;
1041
		}
1042
1043
		return $matching;
1044
	}
@@ 1127-1134 (lines=8) @@
1124
			)
1125
		);
1126
1127
		if ($row !== false) {
1128
			if ($row["title"] !== $release["searchname"]) {
1129
				$this->updateRelease($release, $row["title"], $method = "predb hash release name: " . $row["source"], $echo, $hashtype, $namestatus, $show, $row['predb_id']);
1130
				$matching++;
1131
			}
1132
		} else {
1133
			$this->_updateSingleColumn('dehashstatus', $release['dehashstatus'] - 1, $release['releases_id']);
1134
		}
1135
1136
		return $matching;
1137
	}