Cleanup extending algorithm

This commit is contained in:
bzick 2016-04-11 20:23:28 +03:00
parent d6aa777fd0
commit 1c73d35681
1 changed files with 0 additions and 3 deletions

View File

@ -573,9 +573,6 @@ class Compiler
*/
public static function tagBlockOpen(Tokenizer $tokens, Tag $scope)
{
if ($scope->level > 0) {
$scope->tpl->_compatible = true;
}
$scope["cname"] = $scope->tpl->parsePlainArg($tokens, $name);
if (!$name) {
throw new \RuntimeException("Invalid block name");