Fixed to update to use the new method signature.

This commit is contained in:
Loic d'Anterroches
2009-05-25 15:19:22 +02:00
parent d31cd2aef4
commit 0fd0c40e89
2 changed files with 2 additions and 2 deletions

View File

@@ -343,7 +343,7 @@ class IDF_Scm
$key = 'IDF_Scm:'.$project->shortname.':lastsync';
if (null === ($res=$cache->get($key))) {
$scm = IDF_Scm::get($project);
foreach ($scm->getBranches() as $branche) {
foreach ($scm->getBranches() as $branche => $path) {
foreach ($scm->getChangeLog($branche, 25) as $change) {
IDF_Commit::getOrAdd($change, $project);
}