original_string: public static function course_module_deleted(\core\event\course_module_deleted $event) {
          $cmid = $event->contextinstanceid;
          subscription_manager::delete_cm_subscriptions($cmid);
      }
code: public static function course_module_deleted(\core\event\course_module_deleted $event) {
          $cmid = $event->contextinstanceid;
          subscription_manager::delete_cm_subscriptions($cmid);
      }
code_tokens: public static function course_module_deleted ( \ core \ event \ course_module_deleted $ event ) { $ cmid = $ event -> contextinstanceid ; subscription_manager :: delete_cm_subscriptions ( $ cmid ) ; }
docstring: Observer that monitors course module deleted event and delete user subscriptions.
  
  @param \core\event\course_module_deleted $event the event object.
docstring_tokens: Observer that monitors course module deleted event and delete user subscriptions .