Then at the very minimum, this needs comments in both places to remind people where the code that does the same thing exists, so that changes get reflected in both places...