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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.3
    • Libraries
    • MOODLE_23_STABLE
    • MOODLE_24_STABLE
    • wip-mdl-32945
    • 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.

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

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Sam Hemelryk Sam Hemelryk
            Dan Poltawski Dan Poltawski
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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