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

is_web_crawler should be moved to useragent class

    XMLWordPrintable

Details

    Description

      We have an is_web_crawler() function in lib/setuplib.php which performs tests on the USER_AGENT. These should really be moved to core_useragent() where similar checks of this kind normally live and are thoroughly unit tested.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              David Monllaó David Monllaó
              Rajesh Taneja Rajesh Taneja
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Nov/15