From 19f521ca05e74bd41dc5f879ec7d8a14c5b21da5 Mon Sep 17 00:00:00 2001 From: ceb Date: Thu, 24 Oct 2002 20:23:34 +0000 Subject: [PATCH] fixed wrong name for hook_deleteaccount --- ...k_admin_deleteaccount.inc.php => hook_deleteaccount.inc.php} | 0 preferences/setup/setup.inc.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename preferences/inc/{hook_admin_deleteaccount.inc.php => hook_deleteaccount.inc.php} (100%) diff --git a/preferences/inc/hook_admin_deleteaccount.inc.php b/preferences/inc/hook_deleteaccount.inc.php similarity index 100% rename from preferences/inc/hook_admin_deleteaccount.inc.php rename to preferences/inc/hook_deleteaccount.inc.php diff --git a/preferences/setup/setup.inc.php b/preferences/setup/setup.inc.php index 5094bfacfd..45fc1f7014 100755 --- a/preferences/setup/setup.inc.php +++ b/preferences/setup/setup.inc.php @@ -18,7 +18,7 @@ $setup_info['preferences']['enable'] = 2; /* The hooks this app includes, needed for hooks registration */ - $setup_info['preferences']['hooks'][] = 'admin_deleteaccount'; + $setup_info['preferences']['hooks'][] = 'deleteaccount'; $setup_info['preferences']['hooks'][] = 'config'; $setup_info['preferences']['hooks'][] = 'manual'; $setup_info['preferences']['hooks'][] = 'preferences';