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

is_web_crawler should be moved to useragent class

XMLWordPrintable

      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.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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