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

PHPDoc comment for plagiarism_update_status should be improved

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 3.11
    • Component/s: Plagiarism
    • Labels:

      Description

      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.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Peer reviewer:
              Mark Nelson Mark Nelson
              Integrator:
              Adrian Greeve Adrian Greeve
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

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