Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-6012

Add some check against the use of httpswwwroot in code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: Coding style, Integration
    • Labels:
      None

      Description

      The CFG->httpswwwroot utility was removed in Moodle 3.4 and, since then, it continues being there but only as an alias to allow old plugins to continue working the same.

      There isn't any way, in code, to inform developers about that removed (but aliased) setting.

      So this issue is about consider adding the check as part of the plugin analyze reports. Can be a custom check (easy to grep), or something built on the code-checker... anything.

      But we need to keep contrib developers aware of that legacy setting.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Marina Glancy, Eloy Lafuente (stronk7), Eloy Lafuente (stronk7)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: