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

Unused variables and undeclared globals in core_h5p\core

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9
    • 3.8.3
    • 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

            cescobedo Carlos Escobedo
            jaked Jake Dallimore
            Jake Dallimore Jake Dallimore
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/May/20

              Time Tracking

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