db-ctl-base: remove ctl_get_all_commands() function