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',