The module calls module_load_include() as module_load_include('inc', 'drupal_queue', 'drupal_queue'); it could call the function as module_load_include('inc', 'drupal_queue') because when the second parameter is not given, the function will set it to the same value of the first parameter.

function module_load_include($type, $module, $name = NULL) {
  if (empty($name)) {
    $name = $module;
  }
  // …
}

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new686 bytes

Trivial and small cleanup.

dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.