Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
110f89c5
Commit
110f89c5
authored
Nov 22, 2009
by
Dries
Browse files
- Patch
#626688
by justinrandell: add caching for system_list(). Eliminate a query.
parent
79a9a4f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
110f89c5
...
...
@@ -832,7 +832,9 @@ function drupal_page_is_cacheable($allow_caching = NULL) {
* The name of the bootstrap hook we wish to invoke.
*/
function
bootstrap_invoke_all
(
$hook
)
{
foreach
(
module_list
(
TRUE
,
TRUE
)
as
$module
)
{
// _drupal_bootstrap_page_cache() already loaded the bootstrap modules, so we
// don't need to tell module_list() to reset its bootstrap list.
foreach
(
module_list
(
FALSE
,
TRUE
)
as
$module
)
{
drupal_load
(
'module'
,
$module
);
module_invoke
(
$module
,
$hook
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment