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

Unused variables and undeclared globals in core_h5p\core

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.8.3
    • Component/s: H5P

      Description

      Just a few I noticed in master:

      1. $factory in get_scripts() - unused
      2. $tempfile in fetch_content_types() - unused
      3. $CFG in get_latest_content_types - undeclared

        Attachments

          Activity

            People

            Assignee:
            cescobedo Carlos Escobedo
            Reporter:
            jaked Jake Dallimore
            Peer reviewer:
            Jake Dallimore
            Integrator:
            Andrew Nicols
            Tester:
            CiBoT
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/May/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 55 minutes
                55m