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

Improve the moodlebot user agent and expose a function for plugins to use

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Future Dev
    • Fix Version/s: None
    • Component/s: Libraries

      Description

      I just want a way to expose and reuse the moodlebot UA string instead of it being hardcoded here:

      https://github.com/moodle/moodle/blob/master/lib/filelib.php#L3105

      it should also recognize itself here:

      https://github.com/moodle/moodle/blob/master/lib/classes/useragent.php#L217

       

       

        Attachments

          Activity

            People

            • Assignee:
              brendanheywood Brendan Heywood
              Reporter:
              brendanheywood Brendan Heywood
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: