Commit 1d50605e authored by jhodgdon's avatar jhodgdon

Issue #1884840 by Pix, pwolanin: Remove reference to md5 in ajax code comments

parent 29d1b4e9
...@@ -251,8 +251,8 @@ function ajax_render($commands = array()) { ...@@ -251,8 +251,8 @@ function ajax_render($commands = array()) {
// reliably diffed with array_diff_key(), since the number can change // reliably diffed with array_diff_key(), since the number can change
// due to factors unrelated to the inline content, so for now, we strip // due to factors unrelated to the inline content, so for now, we strip
// the inline items from Ajax responses, and can add support for them // the inline items from Ajax responses, and can add support for them
// when drupal_add_css() and drupal_add_js() are changed to using md5() // when drupal_add_css() and drupal_add_js() are changed to use a hash
// or some other hash of the inline content. // of the inline content as the array key.
foreach ($items[$type] as $key => $item) { foreach ($items[$type] as $key => $item) {
if (is_numeric($key)) { if (is_numeric($key)) {
unset($items[$type][$key]); unset($items[$type][$key]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment