mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
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
Block a user