Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31147 META: Collect together deprecated code changes for Moodle 2.3
  3. MDL-32945

Deprecated PARAM_MULTILANG should be replaced with PARAM_TEXT

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      Test 1:
      grep -Ri PARAM_MULTILANG .
      and make sure it's not used in code. Only declaration should be there in lib/moodlelib.php and used in lib/tests/moodlelib_test.php

      Test 2:
      run
      phpunit moodlelib_testcase lib/tests/moodlelib_test.php

      Test 3:
      Review changes and try find any silly mistake.

      Show
      Test 1: grep -Ri PARAM_MULTILANG . and make sure it's not used in code. Only declaration should be there in lib/moodlelib.php and used in lib/tests/moodlelib_test.php Test 2: run phpunit moodlelib_testcase lib/tests/moodlelib_test.php Test 3: Review changes and try find any silly mistake.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-mdl-32945

      Description

      PARAM_MULTILANG was deprecated in 2.0, please replace it with PARAM_TEXT and remove PARAM_MULTILANG declaration.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/12