Skip to content

Commit

Permalink
Remove superfluous if
Browse files Browse the repository at this point in the history
  • Loading branch information
nussjustin-hmmh committed Mar 29, 2017
1 parent fba8b55 commit 0de3db2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/code/community/Lesti/Fpc/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,6 @@ protected function _prepareLayout(
)
{
$xml = $layout->getNode();
if (!is_a($xml, Lesti_Fpc_Helper_Data::LAYOUT_ELEMENT_CLASS)) {
$xml = simplexml_load_string(
$layout->getXmlString(),
Lesti_Fpc_Helper_Data::LAYOUT_ELEMENT_CLASS
);
}
$cleanXml = simplexml_load_string(
'<layout/>',
Lesti_Fpc_Helper_Data::LAYOUT_ELEMENT_CLASS
Expand Down

0 comments on commit 0de3db2

Please sign in to comment.