needs to be merged with course delete observer
MDL-46132: temp