mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
revert change of _depends
's array structure
This commit is contained in:
parent
2e9675432a
commit
c51863e50b
@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user