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

can mimeinfo_from_icon have a fourth parameter to exclude document/unknown from being returned?

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      At the moment when you request the full list of all mimetypes for that icon, document/unknown is unconditionally included.

      I would like to add another function parameter to affect this behaviour. If people are happy with this idea, I'll make a patch and commit it to HEAD.

        Attachments

          Activity

            People

            • Assignee:
              mjollnir Penny Leach
              Reporter:
              mjollnir Penny Leach
              Tester:
              Nobody
              Participants:
              Component watchers:
              Matteo Scaramuccia, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10