Cleanup extending algorithm
This commit is contained in:
parent
d6aa777fd0
commit
1c73d35681
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue