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

check usage of class_exists to avoid usage of autoloading

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              rajeshtaneja Rajesh Taneja
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: