Skip to content

Commit

Permalink
[imp] [33534] Micro-optimization of JDocumentRendererHead/render, Fix #…
Browse files Browse the repository at this point in the history
  • Loading branch information
betweenbrain authored and Bakual committed Apr 6, 2014
1 parent 245b6f5 commit 268e265
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libraries/joomla/document/html/renderer/head.php
Expand Up @@ -33,12 +33,7 @@ class JDocumentRendererHead extends JDocumentRenderer
*/
public function render($head, $params = array(), $content = null)
{
ob_start();
echo $this->fetchHead($this->_doc);
$buffer = ob_get_contents();
ob_end_clean();

return $buffer;
return $this->fetchHead($this->_doc);
}

/**
Expand Down

0 comments on commit 268e265

Please sign in to comment.