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

Correct license docblock in dataformats class

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.1
    • 3.9.2
    • Libraries
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Hide
      1. Open lib/classes/dataformat.php in an editor.
      2. Confirm the absence of the incorrect license docblock.

      Expected

      /**
       * Class containing utility methods for dataformats
       *
       * @package     core
       * @copyright   2020 Paul Holden <paulh@moodle.com>
       * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
       */
      

      Before patch

      /**
      * Class containing utility methods for dataformats
      *
      * @package     core
      * @copyright   2020 Moodle Pty Ltd <support@moodle.com>
      * @author      2020 Paul Holden <paulh@moodle.com>
      * @copyright   2020 Paul Holden <paulh@moodle.com>
      * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
      * @license     Moodle Workplace License, distribution is restricted, contact support@moodle.com
      */
      

      Show
      Open lib/classes/dataformat.php in an editor. Confirm the absence of the incorrect license docblock. Expected /** * Class containing utility methods for dataformats * * @package core * @copyright 2020 Paul Holden <paulh@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ Before patch /** * Class containing utility methods for dataformats * * @package core * @copyright 2020 Moodle Pty Ltd <support@moodle.com> * @author 2020 Paul Holden <paulh@moodle.com> * @copyright 2020 Paul Holden <paulh@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license Moodle Workplace License, distribution is restricted, contact support@moodle.com */

    Description

      While working on MDL-68500, I inadvertently added Workplace boilerplate license to a new class (found during internal code review)

      Attachments

        Activity

          People

            pholden Paul Holden
            pholden Paul Holden
            Simey Lameze Simey Lameze
            Adrian Greeve Adrian Greeve
            Janelle Barcega Janelle Barcega
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/Sep/20

              Time Tracking

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