Template: Remove redundant debug output

This commit is contained in:
Albert S. 2021-10-03 23:13:59 +02:00
rodič 94ade7238e
revize 257675485d
1 změnil soubory, kde provedl 4 přidání a 4 odebrání

Zobrazit soubor

@ -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)
{