From 613e4013a9f09ecf0b277ff116d3c971603735a5 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Tue, 14 Oct 2003 05:18:18 +0000 Subject: [PATCH] added missing translation class --- setup/setup_demo.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup/setup_demo.php b/setup/setup_demo.php index cf900ea407..9e294e018b 100644 --- a/setup/setup_demo.php +++ b/setup/setup_demo.php @@ -149,9 +149,10 @@ var $accounts; } $GLOBALS['phpgw'] = new phpgw; - $GLOBALS['phpgw']->db = $GLOBALS['phpgw_setup']->db; - $GLOBALS['phpgw']->common = CreateObject('phpgwapi.common'); - $GLOBALS['phpgw']->accounts = CreateObject('phpgwapi.accounts'); + $GLOBALS['phpgw']->db = $GLOBALS['phpgw_setup']->db; + $GLOBALS['phpgw']->common = CreateObject('phpgwapi.common'); + $GLOBALS['phpgw']->accounts = CreateObject('phpgwapi.accounts'); + $GLOBALS['phpgw']->translation = CreateObject('phpgwapi.translation'); if(($GLOBALS['phpgw_info']['server']['account_repository'] == 'ldap') && !$GLOBALS['phpgw']->accounts->ds) {