Commit c4934bd9 authored by webchick's avatar webchick

Issue #2332049 by Wim Leers: Silliest, most trivial clean-up of drupal_render() EVER.

parent 6aeb7e9a
......@@ -2863,9 +2863,6 @@ function drupal_render(&$elements, $is_recursive_call = FALSE) {
if (is_string($callable) && strpos($callable, '::') === FALSE) {
$callable = $controller_resolver->getControllerFromDefinition($callable);
}
else {
$callable = $callable;
}
$elements = call_user_func($callable, $elements);
}
}
......
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