Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69607

Remove can_delete call from delete in Comments API

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.8.4, 3.9.1
    • Comments
    • MOODLE_38_STABLE, MOODLE_39_STABLE

      While integrating MDL-64525, the following issue has been raised. Methods can_delete and delete in comment/lib.php should be reviewed because:

      • can_delete should only perform all the checks
      • delete should perform the removal unconditionally

       

            Unassigned Unassigned
            sarjona Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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