removed config options: ezc_error_prefix and ezc_error_postfix

Ezc::PatternParser and Ezc::Generator use only pt::Log as a logger now
This commit is contained in:
2021-06-19 20:33:35 +02:00
parent 94f96c11cb
commit d8c1a81bcb
8 changed files with 1 additions and 35 deletions

View File

@@ -67,11 +67,6 @@ void PatternCacher::SetEzcObjects(Ezc::Objects<HtmlTextStream> * obj)
}
void PatternCacher::SetEzcCommentary(const std::wstring & start, const std::wstring & end)
{
pattern_parser.SetCommentary(start, end);
}
void PatternCacher::SetWhenDelete(size_t when_delete, size_t how_many_del)
{
when_delete_patterns = when_delete;
@@ -121,7 +116,6 @@ void PatternCacher::CreatePattern(const Item & item, Ezc::Pattern & pattern)
* blocks cannot be created in patterns generated from virtual FS
* but we can call other blocks (from normal templates)
*
* pattern_parser.SetCommentary() is set beforehand
*/
pattern_parser.AllowInclude(false);
pattern_parser.DeleteWhiteTextItems(false);