Removed call to Tlog (prevent installation !)

This commit is contained in:
Franck Allimant
2014-04-21 14:19:16 +02:00
parent 083e0d2872
commit 3442cf22ed

View File

@@ -81,7 +81,7 @@ class Translator extends BaseTranslator
if ($this->catalogues[$locale]->has((string) $id, $domain)) {
return parent::trans($id, $parameters, $domain, $locale);
} else {
Tlog::getInstance()->addWarning("Undefined translation: locale: $locale, domain: $domain, ID: $id");
//Tlog::getInstance()->addWarning("Undefined translation: locale: $locale, domain: $domain, ID: $id");
if ($return_default_if_not_available)
return strtr($id, $parameters);