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

Deprecate question_has_capability_on and split it in two new functions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.5
    • Questions
    • MOODLE_35_STABLE

      Currently question_has_capability_on is a bit misleading, since it currently handle too many cases, for example question id as integer, question object that might not contain the question id and a question object just with the context id and createdby attributes.

      dobedobedoh suggested deprecated that method and split into two new functions one to handle question and other just for the context which ideally could simply receive the context as instance or id.

            Unassigned Unassigned
            lameze Simey Lameze
            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.