Template: Remove redundant debug output

Cette révision appartient à :
Albert S. 2021-10-03 23:13:59 +02:00
Parent 94ade7238e
révision 257675485d
1 fichiers modifiés avec 4 ajouts et 4 suppressions

Voir le fichier

@ -130,11 +130,10 @@ std::string Template::renderRevisionList(const std::vector<Revision> &revisions,
std::stringstream stream;
UrlProvider urlprovider(*this->configUrls);
auto genwithoutpage = [&] {
auto genwithoutpage = [&]
{
for(const Revision &revision : revisions)
{
Logger::debug() << "processing: " << revision.revision;
stream << "<tr><td><a href=\"" << urlprovider.pageRevision(revision.page, revision.revision) << "\">"
<< revision.revision << "</a></td>"
<< "<td>" << revision.author << "</td>"
@ -143,7 +142,8 @@ std::string Template::renderRevisionList(const std::vector<Revision> &revisions,
}
};
auto genwithpage = [&] {
auto genwithpage = [&]
{
for(const Revision &revision : revisions)
{