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

PHPDoc comment for plagiarism_update_status should be improved

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.11
    • 4.0
    • Plagiarism

      The "plagiarism_update_status" function was really badly named - it's really just a hook that allows the plagiarism plugin to display a button/link at the top of the report pages.

      We named it this after the turnitin api we were triggering when this was first written.

      Ideally we should probably replace this completely with a generic callback - possibly in the same place the "turn editing button" is - allowing any plugin to add something to the page where that button normally appears.

      Until then - we should improve the phpdocs to make it slightly clearer what the function is for.

       

            danmarsden Dan Marsden
            danmarsden Dan Marsden
            Mark Nelson Mark Nelson
            Adrian Greeve Adrian Greeve
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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