Template: Remove redundant debug output

This commit is contained in:
Albert S. 2021-10-03 23:13:59 +02:00
parent 94ade7238e
commit 257675485d

View File

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