You are here

function CourseObjectNodeFulfillment::delete in Course 7.2

Revoke content access before the fulfillment is deleted.

Overrides CourseObjectFulfillment::delete

3 calls to CourseObjectNodeFulfillment::delete()
CourseObjectPollFulfillment::delete in modules/course_poll/CourseObjectPollFulfillment.php
Remove poll votes for this user.
CourseObjectQuizFulfillment::delete in modules/course_quiz/CourseObjectQuizFulfillment.php
Remove all quiz attempts associated with this fulfillment.
CourseObjectWebformFulfillment::delete in modules/course_webform/CourseObjectWebformFulfillment.php
Remove all webform submissions associated with this fulfillment.
3 methods override CourseObjectNodeFulfillment::delete()
CourseObjectPollFulfillment::delete in modules/course_poll/CourseObjectPollFulfillment.php
Remove poll votes for this user.
CourseObjectQuizFulfillment::delete in modules/course_quiz/CourseObjectQuizFulfillment.php
Remove all quiz attempts associated with this fulfillment.
CourseObjectWebformFulfillment::delete in modules/course_webform/CourseObjectWebformFulfillment.php
Remove all webform submissions associated with this fulfillment.

File

includes/CourseObjectNodeFulfillment.inc, line 48

Class

CourseObjectNodeFulfillment
Course object node fulfillment.

Code

function delete() {
  $this
    ->revoke();
  parent::delete();
}