diff --git a/admin/accounts.php b/admin/accounts.php index 9f16ef2496..25aaf3bdf1 100755 --- a/admin/accounts.php +++ b/admin/accounts.php @@ -14,7 +14,7 @@ $phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True); include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); $phpgw->template->set_file(array("header" => "accounts.tpl", "row" => "accounts.tpl", diff --git a/admin/deleteaccount.php b/admin/deleteaccount.php index cd5e7653de..80b8b712fa 100755 --- a/admin/deleteaccount.php +++ b/admin/deleteaccount.php @@ -18,7 +18,7 @@ $phpgw_info["flags"]["currentapp"] = "admin"; include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); // I didn't active this code until all tables are up to date using the owner field // The calendar isn't update to date. (jengo) diff --git a/admin/editaccount.php b/admin/editaccount.php index 58d89b2df7..e09f857ae8 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -14,7 +14,7 @@ $phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin"); include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); if (! $account_id) { Header("Location: " . $phpgw->link("accounts.php")); @@ -23,7 +23,7 @@ if ($submit) { $totalerrors = 0; - if ($phpgw_info["server"]["auth_type"] == "ldap") { + if ($phpgw_info["server"]["account_repository"] == "ldap") { if (strlen($n_loginid) > 8) { $error[$totalerrors++] = lang("The loginid can not be more then 8 characters"); } @@ -72,7 +72,7 @@ ?>