call a different hooks for "new user" and "modify user"

This commit is contained in:
Lars Kneschke 2001-01-01 12:02:53 +00:00
parent e84c60be92
commit 0d342d2916

View File

@ -77,7 +77,7 @@
// start inlcuding other admin tools
while(list($key,$value) = each($phpgw_info["user"]["app_perms"]))
{
$phpgw->common->hook_single("update_user_data", $value);
$phpgw->common->hook_single("add_user_data", $value);
}
Header("Location: " . $phpgw->link("accounts.php","cd=$cd"));