Code Duplication    Length = 6-6 lines in 2 locations

includes/Title.php 2 locations

@@ 3128-3133 (lines=6) @@
3125
				[ 'ar_namespace' => $this->getNamespace(), 'ar_title' => $this->getDBkey() ],
3126
				__METHOD__
3127
			);
3128
			if ( $this->getNamespace() == NS_FILE ) {
3129
				$n += $dbr->selectField( 'filearchive', 'COUNT(*)',
3130
					[ 'fa_name' => $this->getDBkey() ],
3131
					__METHOD__
3132
				);
3133
			}
3134
		}
3135
		return (int)$n;
3136
	}
@@ 3152-3157 (lines=6) @@
3149
			[ 'ar_namespace' => $this->getNamespace(), 'ar_title' => $this->getDBkey() ],
3150
			__METHOD__
3151
		);
3152
		if ( !$deleted && $this->getNamespace() == NS_FILE ) {
3153
			$deleted = (bool)$dbr->selectField( 'filearchive', '1',
3154
				[ 'fa_name' => $this->getDBkey() ],
3155
				__METHOD__
3156
			);
3157
		}
3158
		return $deleted;
3159
	}
3160