Move votes when merging versions

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-07-23 16:25:36 +02:00
parent 0f82fb839c
commit f95f3d533a
2 changed files with 59 additions and 0 deletions

View File

@@ -1860,6 +1860,9 @@ class version {
$aChildren[] = $oDownload;
}
/* Get votes, include deleted ones */
$aChildren += vote::getVotesForVersion($this->iVersionId);
return $aChildren;
}