Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9947

civicrm autoload code should play nice with drupal's xautoload module

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The code that autoloads classes includes an if/then statement that checks to see if the xautoload module is installed, however, it will never be used because the statement reads:

      if (FALSE && module_exists('xautoload')) {

      This seems like debugging cruft - should it be changed to:

      if (module_exists('xautoload')) {

      It seems this is the case because CiviCRM autoload functionality doesn't work using xautoload.

        Attachments

          Activity

            People

            • Assignee:
              jamie Jamie McClelland
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: