Code Duplication    Length = 7-7 lines in 2 locations

includes/user/User.php 2 locations

@@ 2263-2269 (lines=7) @@
2260
			[ $field => $id, 'user_last_timestamp' => $dbw->timestampOrNull( $ts ) ],
2261
			__METHOD__,
2262
			'IGNORE' );
2263
		if ( $dbw->affectedRows() ) {
2264
			wfDebug( __METHOD__ . ": set on ($field, $id)\n" );
2265
			return true;
2266
		} else {
2267
			wfDebug( __METHOD__ . " already set ($field, $id)\n" );
2268
			return false;
2269
		}
2270
	}
2271
2272
	/**
@@ 2283-2289 (lines=7) @@
2280
		$dbw->delete( 'user_newtalk',
2281
			[ $field => $id ],
2282
			__METHOD__ );
2283
		if ( $dbw->affectedRows() ) {
2284
			wfDebug( __METHOD__ . ": killed on ($field, $id)\n" );
2285
			return true;
2286
		} else {
2287
			wfDebug( __METHOD__ . ": already gone ($field, $id)\n" );
2288
			return false;
2289
		}
2290
	}
2291
2292
	/**