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

Plagiarism functions print_disclosure update_status should allow use with renderers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.3
    • Fix Version/s: 2.2.2
    • Component/s: Plagiarism
    • Labels:
    • Testing Instructions:
      Hide

      No Testing required/possible - this is for an API which doesn't have any core plugins so no core code actually uses these hooks.

      • This is backwards compatible with older plugins so won't break anything either - it just allows us to set the plagiarism functions up to work inside renderers in a much better way.

      Tester: please do some general plagiarism usage to check/learn how it works

      Show
      No Testing required/possible - this is for an API which doesn't have any core plugins so no core code actually uses these hooks. This is backwards compatible with older plugins so won't break anything either - it just allows us to set the plagiarism functions up to work inside renderers in a much better way. Tester: please do some general plagiarism usage to check/learn how it works
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      master_MDL-31461

      Description

      We need to change the way these functions are called - and echo the return value of the function instead of relying on the function to print the stuff itself - this will allow us to use these better in renderer functions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Integrator:
              Aparup Banerjee
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Mar/12