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

Deprecate some plagiarism functions that are not used, or have replacements.

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      master_MDL-71175
    • Testing Instructions:
      Hide
      1. Create a test folder into plagiarism plugin folder.
      2. Extract the test plagiarism plugin (plagiarism_test.zip) into that test folder in the plagiarism directory.
      3. Run upgrade
      4. Enable plagiarism plugins - Site administration > Advanced features.
      5. Go Site administration > Plugins > Plagiarism > Manage plagiarism plugins - and follow the Setttings link
        1. You should get a message "Plugin is ready to go".
      6. Go to a course
      7. Turn editing on
      8. Create an assignment
      9. View the assignment "all submissions" report.
      10. Confirm that you see debugging message saying that the setting plagiarism_plugin::update_status() is deprecated. 
      Show
      Create a test folder into plagiarism plugin folder. Extract the test plagiarism plugin (plagiarism_test.zip) into that test folder in the plagiarism directory. Run upgrade Enable plagiarism plugins - Site administration > Advanced features. Go Site administration > Plugins > Plagiarism > Manage plagiarism plugins - and follow the Setttings link You should get a message "Plugin is ready to go". Go to a course Turn editing on Create an assignment View the assignment "all submissions" report. Confirm that you see debugging message saying that the setting plagiarism_plugin::update_status() is deprecated.  

      Description

      The plagiarism_update status function could do with being replaced by a new callback that allows any plugin to inject something into the header where we would normally add the "turn editing on" button.

      maybe something in the moodle_page class that allows a plugin to add a button to the page would work?

        Attachments

        1. MDL-71175.jpg
          MDL-71175.jpg
          30 kB
        2. MDL-71175 confirmation 1.png
          MDL-71175 confirmation 1.png
          21 kB
        3. MDL-71175 confirmation 2.png
          MDL-71175 confirmation 2.png
          45 kB
        4. plagiarism_test.zip
          3 kB

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Peer reviewer:
              Simey Lameze Simey Lameze
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 46 minutes
                  2h 46m