9f82c9aece
Apply the standard deprecation procedure to the old APIs, to be removed in Moodle 4.2 (MDL-69882). Existing unit tests cover the deprecation debugging. Originally MDL-64600