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

Broken or redundant cap checks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.2
    • Fix Version/s: None
    • Component/s: Survey
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      As identified in MDL-57246, many modules are using

      notice(get_string("activityiscurrentlyhidden")
      

      Without supplying the course url. This should link back to the course. Also some of these usages might be redundant as well, if require_course_login() is called before, as identified for forum in MDL-57426

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ankit_frenz Ankit Agarwal
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: