From 354f88be7450a2c71b54425c20ec4df0330fbf56 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 17 Nov 2016 13:00:19 +0100 Subject: [PATCH] fix error in account migration in a minimal install --- setup/account_migration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/account_migration.php b/setup/account_migration.php index 355558a617..6b9e1cfb32 100644 --- a/setup/account_migration.php +++ b/setup/account_migration.php @@ -24,7 +24,7 @@ if (!$GLOBALS['egw_setup']->auth('Config') || $_POST['cancel']) // Does not return unless user is authorized $tpl_root = $GLOBALS['egw_setup']->html->setup_tpl_dir('setup'); -$setup_tpl = CreateObject('phpgwapi.Template',$tpl_root); +$setup_tpl = new Api\Framework\Template($tpl_root); $setup_tpl->set_file(array( 'migration' => 'account_migration.tpl', 'T_head' => 'head.tpl',