update getCampaigns.php

because function moved to functions