Code Duplication    Length = 6-6 lines in 2 locations

includes/Title.php 2 locations

@@ 3066-3071 (lines=6) @@
3063
				[ 'ar_namespace' => $this->getNamespace(), 'ar_title' => $this->getDBkey() ],
3064
				__METHOD__
3065
			);
3066
			if ( $this->getNamespace() == NS_FILE ) {
3067
				$n += $dbr->selectField( 'filearchive', 'COUNT(*)',
3068
					[ 'fa_name' => $this->getDBkey() ],
3069
					__METHOD__
3070
				);
3071
			}
3072
		}
3073
		return (int)$n;
3074
	}
@@ 3090-3095 (lines=6) @@
3087
			[ 'ar_namespace' => $this->getNamespace(), 'ar_title' => $this->getDBkey() ],
3088
			__METHOD__
3089
		);
3090
		if ( !$deleted && $this->getNamespace() == NS_FILE ) {
3091
			$deleted = (bool)$dbr->selectField( 'filearchive', '1',
3092
				[ 'fa_name' => $this->getDBkey() ],
3093
				__METHOD__
3094
			);
3095
		}
3096
		return $deleted;
3097
	}
3098