Skip to content

Commit

Permalink
Removed unused function in PageController
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Brajon committed Nov 24, 2012
1 parent 63c6886 commit 7a053f5
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Controller/Backend/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,19 +238,4 @@ public function siteMapComponentAction($fromId)
)
);
}

/**
* @param String $pageContent Content to search in.
*
* @return Array|Boolean Block name and content or false if no block
*/
private function matchBlocks($pageContent)
{
if (!preg_match_all('#{% block (?P<block_name>(.*)) %}(?P<block_content>(.*)){% endblock %}#sU', $pageContent, $matches)) {

return false;
}

return $matches;
}
}

0 comments on commit 7a053f5

Please sign in to comment.