From c51863e50b4feafd177ed72338a8873abfd36844 Mon Sep 17 00:00:00 2001 From: klkvsk Date: Mon, 29 Jul 2013 18:57:26 +0400 Subject: [PATCH] revert change of `_depends`'s array structure --- src/Fenom/Template.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Fenom/Template.php b/src/Fenom/Template.php index 0eac23d..50399fd 100644 --- a/src/Fenom/Template.php +++ b/src/Fenom/Template.php @@ -407,11 +407,7 @@ class Template extends Render { * @param Render $tpl */ public function addDepend(Render $tpl) { - $name = $tpl->getName(); - if ($tpl->getScm()) { - $name = $tpl->getScm() . ':' . $name; - } - $this->_depends[$name] = $tpl->getTime(); + $this->_depends[$tpl->getScm()][$tpl->getName()] = $tpl->getTime(); } /**