Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33061 META : Remove deprecated api function get_context_instance() and replace calls with context_XXX::instance()
  3. MDL-34471

Replace get_context_instance with context_XXXX::instance() in set location (Cleanup issue)

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.4
    • Libraries
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • MDL-34471-master
    • Hide

      TEST1

      • Grep for get_context_instance() and make sure there is no valid usage in core beside the definition of the function.

      TEST2 - Forums

      • Try creating a forum
      • editing/updating/deleting a forum
      • updating/deleting/editing a discussion
      • updating/deleting/editing a reply

      TEST3 - Messages

      • Send messages to users
      • try updating/deleting/editing a reply

      TEST4 - Groups

      • try updating/deleting/editing/creating a group

      TEST5- Authentication

      • Try out enrolling users with various authentication methods that we support (ldap,ment etc)

      TEST6-(optional)

      • Hunt down an alien.
      • Force the alien to test everything in Moodle
      Show
      TEST1 Grep for get_context_instance() and make sure there is no valid usage in core beside the definition of the function. TEST2 - Forums Try creating a forum editing/updating/deleting a forum updating/deleting/editing a discussion updating/deleting/editing a reply TEST3 - Messages Send messages to users try updating/deleting/editing a reply TEST4 - Groups try updating/deleting/editing/creating a group TEST5- Authentication Try out enrolling users with various authentication methods that we support (ldap,ment etc) TEST6-(optional) Hunt down an alien. Force the alien to test everything in Moodle

      Replace get_context_instance with context_XXXX::instance() in set location (Clean up)

      • Remove any remaining instances of the function get_context_instance from core.

            ankit_frenz Ankit Agarwal
            ankit_frenz Ankit Agarwal
            David Monllaó David Monllaó
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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