Fixed to update to use the new method signature.
This commit is contained in:
parent
d31cd2aef4
commit
0fd0c40e89
@ -343,7 +343,7 @@ class IDF_Scm
|
|||||||
$key = 'IDF_Scm:'.$project->shortname.':lastsync';
|
$key = 'IDF_Scm:'.$project->shortname.':lastsync';
|
||||||
if (null === ($res=$cache->get($key))) {
|
if (null === ($res=$cache->get($key))) {
|
||||||
$scm = IDF_Scm::get($project);
|
$scm = IDF_Scm::get($project);
|
||||||
foreach ($scm->getBranches() as $branche) {
|
foreach ($scm->getBranches() as $branche => $path) {
|
||||||
foreach ($scm->getChangeLog($branche, 25) as $change) {
|
foreach ($scm->getChangeLog($branche, 25) as $change) {
|
||||||
IDF_Commit::getOrAdd($change, $project);
|
IDF_Commit::getOrAdd($change, $project);
|
||||||
}
|
}
|
||||||
|
@ -437,7 +437,7 @@ class IDF_Scm_Git extends IDF_Scm
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$c['full_message'] = trim($c['full_message']);
|
$c['full_message'] = !empty($c['full_message']) ? trim($c['full_message']) : '';
|
||||||
$res[] = (object) $c;
|
$res[] = (object) $c;
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user