revert change of _depends's array structure

This commit is contained in:
klkvsk 2013-07-29 18:57:26 +04:00
parent 2e9675432a
commit c51863e50b

View File

@ -407,11 +407,7 @@ class Template extends Render {
* @param Render $tpl * @param Render $tpl
*/ */
public function addDepend(Render $tpl) { public function addDepend(Render $tpl) {
$name = $tpl->getName(); $this->_depends[$tpl->getScm()][$tpl->getName()] = $tpl->getTime();
if ($tpl->getScm()) {
$name = $tpl->getScm() . ':' . $name;
}
$this->_depends[$name] = $tpl->getTime();
} }
/** /**