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

Conditional availability: Remove functions/classes deprecated in MDL-44070

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Do a few random QAs for conditional access and make sure they pass
      2. Run whole test suites and make sure they pass (behat + phpunit)
      3. Grep for the following classes and make sure they don't have valid usages :- "condition_info,condition_info_section,condition_info_base"
      4. Do some random exploratory testing using conditional access.
      Show
      Do a few random QAs for conditional access and make sure they pass Run whole test suites and make sure they pass (behat + phpunit) Grep for the following classes and make sure they don't have valid usages :- "condition_info,condition_info_section,condition_info_base" Do some random exploratory testing using conditional access.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-44985-master
    • Sprint:
      BACKEND Sprint 19

      Description

      The following were deprecated in MDL-44070 and should be removed in Moodle 2.9 (note that this states version 2.8 because 2.9 is not an available option yet):

      • Entire file lib/conditionlib.php (and lib/tests/conditionlib_test.php)
      • Function coursemodule_visible_for_user (in lib/deprecatedlib.php)
      • In modinfolib.php cm_info class:
        • availablefrom, availableuntil fields (all mentions) and get_deprecated_available_date function
        • get_show_availability function
        • is_user_access_restricted_by_conditional_access function
      • In modinfolib.php section_info class:
        • get_showavailability, get_availablefrom, get_availableuntil, get_groupingid

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              quen Sam Marshall
              Peer reviewer:
              Sam Marshall
              Integrator:
              Dan Poltawski
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15