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

check usage of class_exists to avoid usage of autoloading

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.5
    • Libraries
    • MOODLE_25_STABLE
    • 5
    • BACKEND Sprint 1

      Currently class_exits is not passing second parameter as false, in blocklib.php and pluginlib.php, because of which autoloader is called and hence can hit performance with autoloader functionality.
      Look at other usage of class_exists function and pass second param as false, where appropriate.

      http://php.net/manual/en/function.class-exists.php

            skodak Petr Skoda
            rajeshtaneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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