From 5f786d9af346507609632cc4f9bed77ba33db6d4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 5 May 2014 12:21:47 +0000 Subject: [PATCH] skip loading (not needed) translations when running during setup --- infolog/inc/class.infolog_activesync.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_activesync.inc.php b/infolog/inc/class.infolog_activesync.inc.php index 972caa6822..abf5942e76 100644 --- a/infolog/inc/class.infolog_activesync.inc.php +++ b/infolog/inc/class.infolog_activesync.inc.php @@ -547,7 +547,7 @@ class infolog_activesync implements activesync_plugin_write */ function settings($hook_data) { - translation::add_app('infolog'); + if (!$hook_data['setup']) translation::add_app('infolog'); if (!isset($this->infolog)) $this->infolog = new infolog_bo(); if (!($types = $this->infolog->enums['type']))