remove accidently readded loading of no longer existing etemplate translations (moved to api)

This commit is contained in:
Ralf Becker 2016-05-06 10:51:25 +00:00
parent 4a128b913c
commit 5261404c53

View File

@ -159,7 +159,6 @@ class Etemplate extends Etemplate\Widget\Template
// not sure if we want to handle it this way, thought otherwise we will have a few ajax request for each dialog fetching predefined selectboxes
$template = self::instance($this->name, $this->template_set, $this->version, $this->laod_via);
if (!$template) throw new Exception\AssertionFailed("Template $this->name not instanciable! Maybe you forgot to rename template id.");
Translation::add_app('etemplate');
$template->run('beforeSendToClient', array('', array('cont'=>$content)));
// some apps (eg. InfoLog) set app_header only in get_rows depending on filter settings