summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2015-05-09 13:12:20 +0200
committerhass2015-05-09 13:12:20 +0200
commit3c7f0bca1d2e767fb81145ba94f43951c09484c5 (patch)
tree68804c76fb43f3c3306f1f5c91263ea48ecfdae9
parent8b57dde288bb13f11185ffeac71169fa6ad32315 (diff)
Documentation
https://www.drupal.org/developing/api/8/render/arrays/cacheability has been fixed and confirms this code is correct.
-rw-r--r--recaptcha.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/recaptcha.module b/recaptcha.module
index 412e427..1cfc1a1 100644
--- a/recaptcha.module
+++ b/recaptcha.module
@@ -116,7 +116,6 @@ function recaptcha_captcha($op, $captcha_type = '') {
],
];
// If module configuration changes the cache need to be refreshed.
- // @todo: Core documentation is highly confusing and unclear.
$renderer->addCacheableDependency($captcha['form'], $config);
}