summaryrefslogtreecommitdiff
path: root/includes/registry.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-10 16:14:49 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-10 16:14:49 +0000
commita13bad5890cd45536dd8e01cab43290acf70c23a (patch)
tree7a75b4c75de95ee6adecfcce4498df4c49e34841 /includes/registry.inc
parenta6487b012e755e0a89bdd490335d4b1d02c92a1d (diff)
downloadbrdo-a13bad5890cd45536dd8e01cab43290acf70c23a.tar.gz
brdo-a13bad5890cd45536dd8e01cab43290acf70c23a.tar.bz2
- Patch #449198 by justinrandell: documentation update.
Diffstat (limited to 'includes/registry.inc')
-rw-r--r--includes/registry.inc8
1 files changed, 2 insertions, 6 deletions
diff --git a/includes/registry.inc b/includes/registry.inc
index 89de42356..8efaf0f98 100644
--- a/includes/registry.inc
+++ b/includes/registry.inc
@@ -13,10 +13,7 @@
*
* Drupal maintains an internal registry of all functions or classes in the
* system, allowing it to lazy-load code files as needed (reducing the amount
- * of code that must be parsed on each request). The list of included files is
- * cached per menu callback for subsequent loading by the menu router. This way,
- * a given page request will have all the code it needs but little else, minimizing
- * time spent parsing unneeded code.
+ * of code that must be parsed on each request).
*/
/**
@@ -73,7 +70,6 @@ function _registry_rebuild() {
// list can then be added to the list of files that the registry will parse,
// or modify attributes of a file.
drupal_alter('registry_files', $files, $modules);
-
foreach (registry_get_parsed_files() as $filename => $file) {
// Add the md5 to those files we've already parsed.
if (isset($files[$filename])) {
@@ -81,7 +77,7 @@ function _registry_rebuild() {
}
else {
// Flush the registry of resources in files that are no longer on disc
- // or don't belong to installed modules.
+ // or are in files that no installed modules require to be parsed.
db_delete('registry')
->condition('filename', $filename)
->execute();