Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4717

Debugging message shown in relation to browser sniffing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Block: Simple clock
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      In Moodle 2.6 (currently beta) a deprecation message is shown in relation to the function used to determine if IE is being used...

      check_browser_version has been deprecated, please update your code to use core_useragent instead.
       
          line 4571 of \lib\deprecatedlib.php: call to debugging()
          line 139 of \blocks\simple_clock\block_simple_clock.php: call to check_browser_version()
          line 296 of \blocks\moodleblock.class.php: call to block_simple_clock->get_content()
          line 238 of \blocks\moodleblock.class.php: call to block_base->formatted_contents()
          line 956 of \lib\blocklib.php: call to block_base->get_content_for_output()
          line 1008 of \lib\blocklib.php: call to block_manager->create_block_contents()
          line 353 of \lib\blocklib.php: call to block_manager->ensure_content_created()
          line 4 of \theme\base\layout\frontpage.php: call to block_manager->region_has_content()
          line 866 of \lib\outputrenderers.php: call to include()
          line 796 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
          line 101 of \index.php: call to core_renderer->header()
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: