Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42269 Review all new events introduced in 2.6dev
  3. MDL-42581

blog_entry_deleted pushes full post record into other field

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.6
    • Blog, Events API
    • MOODLE_26_STABLE
    • BACKEND Sprint 6

      delete events should just identify the data and put the full original record to the snapshot cache.

              $event = \core\event\blog_entry_deleted::create(array(
                  'objectid'      => $this->id,
                  'relateduserid' => $this->userid,
                  'other'         => array('record' => (array) $record)
              ));
      

      1/ replace record with post id + subject in blog/locallib.php method blog_entry::delete()

            rajeshtaneja Rajesh Taneja
            skodak Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.