Code Duplication    Length = 7-7 lines in 2 locations

includes/user/User.php 2 locations

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