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

Correct license docblock in dataformats class

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.9.2
    • 3.9.1
    • 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 */

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

            pholden Paul Holden
            pholden Paul Holden
            Simey Lameze Simey Lameze
            Adrian Greeve Adrian Greeve
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.