Commit 388d59fc authored by Laurent Montel's avatar Laurent Montel 😁

Remove commented code

parent 2c74ee1d
......@@ -1379,19 +1379,6 @@ QString TemplateParserJob::findTemplate()
QString tmpl;
#if 0
if (!mFolder.isValid()) { // find folder message belongs to
mFolder = mMsg->parentCollection();
if (!mFolder.isValid()) {
if (mOrigMsg) {
mFolder = mOrigMsg->parentCollection();
}
if (!mFolder.isValid()) {
qCDebug(TEMPLATEPARSER_LOG) << "Oops! No folder for message";
}
}
}
#else
qCDebug(TEMPLATEPARSER_LOG) << "AKONADI PORT: Disabled code in " << Q_FUNC_INFO;
qCDebug(TEMPLATEPARSER_LOG) << "Folder found:" << mFolder;
if (mFolder.isValid()) { // only if a folder was found
......@@ -1468,7 +1455,6 @@ QString TemplateParserJob::findTemplate()
return tmpl; // use identity-specific template
}
}
#endif
switch (mMode) { // use the global template
case NewMessage:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment