Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

drupal7/modules/simpletest/simpletest.module
374 374
          // If this test class requires a non-existing module, skip it.
375 375
          if (!empty($info['dependencies'])) {
376 376
            foreach ($info['dependencies'] as $module) {
377
              if (!drupal_get_filename('module', $module)) {
377
              // Pass FALSE as fourth argument so no error gets created for
378
              // the missing file.
379
              $found_module = drupal_get_filename('module', $module, NULL, FALSE);
380
              if (!$found_module) {
378 381
                continue 2;
379 382
              }
380 383
            }

Also available in: Unified diff