Issue #1715326 by kid_icarus: Re-wrap code comment
parent
2c656cd69a
commit
89f2654afd
|
@ -809,8 +809,8 @@ function taxonomy_get_tree($vid, $parent = 0, $max_depth = NULL, $load_entities
|
||||||
$parents = &drupal_static(__FUNCTION__ . ':parents', array());
|
$parents = &drupal_static(__FUNCTION__ . ':parents', array());
|
||||||
$terms = &drupal_static(__FUNCTION__ . ':terms', array());
|
$terms = &drupal_static(__FUNCTION__ . ':terms', array());
|
||||||
|
|
||||||
// We cache trees, so it's not CPU-intensive to call taxonomy_get_tree() on a term
|
// We cache trees, so it's not CPU-intensive to call taxonomy_get_tree() on a
|
||||||
// and its children, too.
|
// term and its children, too.
|
||||||
if (!isset($children[$vid])) {
|
if (!isset($children[$vid])) {
|
||||||
$children[$vid] = array();
|
$children[$vid] = array();
|
||||||
$parents[$vid] = array();
|
$parents[$vid] = array();
|
||||||
|
|
Loading…
Reference in New Issue