-
Improvement
-
Resolution: Deferred
-
Minor
-
None
-
2.2
-
MOODLE_22_STABLE
This issue is creating an associated MDL for an orphan TODO in tag/lib.php, which I came across while working on [MDL-30992]...
tag/lib.php |
//TODO: test this and see if it helps performance without breaking anything
|
//foreach($tags as $key => $tag) {
|
// $clean_tag = moodle_strtolower($tag);
|
// if ( array_key_exists($clean_tag), $tag_id_cache) ) {
|
// $result[$clean_tag] = $tag_id_cache[$clean_tag];
|
// $tags[$key] = ''; // prevent further processing for this one.
|
// }
|
//}
|
The above code is an extract from the tag_get_id() function in tag/lib.php. The todo comment pretty much says it all.