[clock, adminchannel] Fix use of deprecated functions