function cluster_moodleprofile_delete_for_cluster($id) { userset_profile::delete_records(new field_filter('clusterid', $id)); }