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

Phase 2 of deprecation of functions in lib/deprecatedlib.php in 3.0

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 3.0
    • Component/s: General
    • Labels:
    • Testing Instructions:
      Hide
      1. Run all unit tests
      2. Run all behat tests
      3. Do a few random Qas
      4. Do random exploratory testing of Moodle
      5. Make sure no debugging notice or error related to this patch is noticed during all of the above steps
      6. Go to stats report and completion report and make sure everything looks ok
      Show
      Run all unit tests Run all behat tests Do a few random Qas Do random exploratory testing of Moodle Make sure no debugging notice or error related to this patch is noticed during all of the above steps Go to stats report and completion report and make sure everything looks ok
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-50049-master
    • Sprint:
      Team Beards Sprint 8, Team '; drop tables Sprint 8

      Description

      It looks like we have not done it for a while.
      lib/deprecatedlib.php contains lots of functions that were deprecated in 2.8, 2.7, 2.6, 2.5 and even 2.4

      They should be all substituted with throwing exception as described in https://docs.moodle.org/dev/Deprecation

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  16/Nov/15