Commit c5ee590c authored by Dries's avatar Dries
Browse files

- Patch #611048 by c960657: removed outdated comment in _registry_check_code().

parent 6482cc89
......@@ -1924,8 +1924,8 @@ function _registry_check_code($type, $name = NULL) {
return;
}
// $type can be one of 'function', 'interface' or 'class', so we only need the
// first letter to keep the cache key unique.
// $type is either 'interface' or 'class', so we only need the first letter to
// keep the cache key unique.
$cache_key = $type[0] . $name;
if (isset($lookup_cache[$cache_key])) {
if ($lookup_cache[$cache_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