diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-02 00:17:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-02 00:17:49 +0000 |
commit | 54fc6e99bdb5a6fb01531c86d451ad0ddd3e84b2 (patch) | |
tree | e80a6b0ed865e3bb2ba909bc41c0efbeb05b65b1 /includes | |
parent | a8bb546ecedd14e8e96afbd87e3a183d7b474a9f (diff) | |
download | brdo-54fc6e99bdb5a6fb01531c86d451ad0ddd3e84b2.tar.gz brdo-54fc6e99bdb5a6fb01531c86d451ad0ddd3e84b2.tar.bz2 |
- Patch #648262 by brianV: fixed some typos.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/module.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/module.inc b/includes/module.inc index 9e8f20161..ba44dc46e 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -8,7 +8,7 @@ /** * Load all the modules that have been enabled in the system table. - * + * * @param $bootstrap * Whether to load only the reduced set of modules loaded in "bootstrap mode" * for cached pages. See bootstrap.inc. @@ -115,7 +115,7 @@ function system_list($type) { $bootstrap_list = db_query("SELECT name, filename FROM {system} WHERE status = 1 AND bootstrap = 1 AND type = 'module' ORDER BY weight ASC, name ASC")->fetchAllAssoc('name'); cache_set('bootstrap_modules', $bootstrap_list, 'cache_bootstrap'); } - // To avoid a separate database lookup for the filepath, prime the + // To avoid a separate database lookup for the filepath, prime the // drupal_get_filename() static cache for bootstrap modules only. // The rest is stored separately to keep the bootstrap module cache small. foreach ($bootstrap_list as $module) { @@ -126,7 +126,7 @@ function system_list($type) { $lists['bootstrap'] = array_keys($bootstrap_list); } // Otherwise build the list for enabled modules and themes. - elseif (!isset($lists['module_enable'])) { + elseif (!isset($lists['module_enabled'])) { if ($cached = cache_get('system_list', 'cache_bootstrap')) { $lists = $cached->data; } @@ -158,7 +158,7 @@ function system_list($type) { } cache_set('system_list', $lists, 'cache_bootstrap'); } - // To avoid a separate database lookup for the filepath, prime the + // To avoid a separate database lookup for the filepath, prime the // drupal_get_filename() static cache with all enabled modules and themes. foreach ($lists['filepaths'] as $item) { drupal_get_filename($item['type'], $item['name'], $item['filepath']); |