Update wpmsar_dispatcher.php

Removed duplicate code