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

Create a "manager" class in mod feedback

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • Feedback
    • MOODLE_405_STABLE

      As suggested by tusefomal in MDL-81742, the Feedback module does not have a manager class. This class would avoid different weird scenarios like using $DB global in output classes.

      Create a manager class with (at least) a has_feedback_items() | has_questions() to avoid a direct call to $DB->record_exists('feedback_item', ['feedback' => $this->feedback->id]) in mod_feedback\output\edit_action_bar

            Unassigned Unassigned
            mikelmartíncorrales Mikel Martín Corrales
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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