Template: Remove redundant debug output
This commit is contained in:
parent
94ade7238e
commit
257675485d
@ -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)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user